summaryrefslogtreecommitdiffstats
path: root/x11vnc/sslhelper.c
diff options
context:
space:
mode:
authorrunge <runge>2009-03-07 22:30:43 +0000
committerrunge <runge>2009-03-07 22:30:43 +0000
commite7152a7f68063a86887a9059728ca26b5404ce51 (patch)
treef7ac5e878e0655840337f10946868231e10dd9ba /x11vnc/sslhelper.c
parenteb1cc7608b91996199dae88663ee0d14d5d5b3f7 (diff)
downloadlibtdevnc-e7152a7f68063a86887a9059728ca26b5404ce51.tar.gz
libtdevnc-e7152a7f68063a86887a9059728ca26b5404ce51.zip
Allow range for X11VNC_SKIP_DISPLAY, document grab
Xserver issue. Add progress_client() to proceed more quickly thru handshake. Improvements to turbovnc hack.
Diffstat (limited to 'x11vnc/sslhelper.c')
-rw-r--r--x11vnc/sslhelper.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/x11vnc/sslhelper.c b/x11vnc/sslhelper.c
index 4f22dc5..46a2bec 100644
--- a/x11vnc/sslhelper.c
+++ b/x11vnc/sslhelper.c
@@ -8,6 +8,7 @@
#include "connections.h"
#include "sslcmds.h"
#include "unixpw.h"
+#include "user.h"
#define OPENSSL_INETD 1
#define OPENSSL_VNC 2
@@ -2558,6 +2559,8 @@ void accept_openssl(int mode, int presock) {
client->protocolMinorVersion = 8;
rfbAuthNewClient(client);
}
+ /* try to get RFB proto done now. */
+ progress_client();
} else {
rfbLog("SSL: accept_openssl: rfbNewClient failed.\n");
close(vsock);