diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2009-11-02 16:13:26 +0100 |
---|---|---|
committer | Johannes Schindelin <johannes.schindelin@gmx.de> | 2009-11-02 16:13:26 +0100 |
commit | f49a292783407c14869d811c05c2bbd009af27f7 (patch) | |
tree | 5cf5e9544f6762bb67e94e195b882120a40bcf3f /libvncclient/vncviewer.c | |
parent | 67223b7c4d3411dbc5a311c7b66770f2ac9b7b83 (diff) | |
parent | 29990f0090754c722653aafd3fc6800cebc1584c (diff) | |
download | libvncserver-f49a292783407c14869d811c05c2bbd009af27f7.zip libvncserver-f49a292783407c14869d811c05c2bbd009af27f7.tar.gz |
Merge branch 'VeNCrypt'
Diffstat (limited to 'libvncclient/vncviewer.c')
-rw-r--r-- | libvncclient/vncviewer.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libvncclient/vncviewer.c b/libvncclient/vncviewer.c index f29bd5f..3ad8a27 100644 --- a/libvncclient/vncviewer.c +++ b/libvncclient/vncviewer.c @@ -30,6 +30,7 @@ #include <string.h> #include <time.h> #include <rfb/rfbclient.h> +#include "tls.h" static void Dummy(rfbClient* client) { } @@ -181,6 +182,13 @@ rfbClient* rfbGetClient(int bitsPerSample,int samplesPerPixel, client->CurrentKeyboardLedState = 0; client->HandleKeyboardLedState = (HandleKeyboardLedStateProc)DummyPoint; + client->authScheme = 0; + client->subAuthScheme = 0; + client->GetCredential = NULL; +#ifdef LIBVNCSERVER_WITH_CLIENT_TLS + client->tlsSession = NULL; +#endif + return client; } @@ -323,6 +331,7 @@ void rfbClientCleanup(rfbClient* client) { #endif #endif + FreeTLS(client); if (client->sock > 0) close(client->sock); free(client->desktopName); |