From 77286f0831bbff0a3828f1987aa279ae9178619c Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Sun, 15 Apr 2012 16:50:40 +0200 Subject: LibVNCClient: Remove all those WITH_CLIENT_TLS #ifdefs and move GnuTLS specific functionality into tls_gnutls.c. --- rfb/rfbclient.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'rfb/rfbclient.h') diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h index 36c109e..0ecc5e4 100644 --- a/rfb/rfbclient.h +++ b/rfb/rfbclient.h @@ -38,9 +38,6 @@ #include #include #include -#ifdef LIBVNCSERVER_WITH_CLIENT_TLS -#include -#endif #define rfbClientSwap16IfLE(s) \ (*(char *)&client->endianTest ? ((((s) & 0xff) << 8) | (((s) >> 8) & 0xff)) : (s)) @@ -314,10 +311,8 @@ typedef struct _rfbClient { /** The selected security types */ uint32_t authScheme, subAuthScheme; -#ifdef LIBVNCSERVER_WITH_CLIENT_TLS /** The TLS session for Anonymous TLS and VeNCrypt */ - gnutls_session_t tlsSession; -#endif + void* tlsSession; /** To support security types that requires user input (except VNC password * authentication), for example VeNCrypt and MSLogon, this callback function -- cgit v1.2.3