summaryrefslogtreecommitdiffstats
path: root/libvncclient/vncviewer.c
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2016-04-24 17:00:08 +0200
committerChristian Beier <dontmind@freeshell.org>2016-04-24 17:00:08 +0200
commitfc3dfdd9c59a6a36f7add3255aaad50d56228c59 (patch)
tree1f67155bd18492eb8dbbf0b059a66b0c62fdee68 /libvncclient/vncviewer.c
parent2893c2b057dfddd25efdbda21ff9d2522763489a (diff)
parent1da7872784a78446284b4e8ef71691458296026c (diff)
downloadlibtdevnc-fc3dfdd9c59a6a36f7add3255aaad50d56228c59.tar.gz
libtdevnc-fc3dfdd9c59a6a36f7add3255aaad50d56228c59.zip
Merge pull request #118 from gbdj/threadsafe-100-squash
libvncclient/tls_gnutls.c: Add hooks to WriteToTLS() for optional protection by mutex. (Squashed)
Diffstat (limited to 'libvncclient/vncviewer.c')
-rw-r--r--libvncclient/vncviewer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvncclient/vncviewer.c b/libvncclient/vncviewer.c
index af0a50b..d81e298 100644
--- a/libvncclient/vncviewer.c
+++ b/libvncclient/vncviewer.c
@@ -220,6 +220,8 @@ rfbClient* rfbGetClient(int bitsPerSample,int samplesPerPixel,
client->subAuthScheme = 0;
client->GetCredential = NULL;
client->tlsSession = NULL;
+ client->LockWriteToTLS = NULL;
+ client->UnlockWriteToTLS = NULL;
client->sock = -1;
client->listenSock = -1;
client->listenAddress = NULL;