diff options
Diffstat (limited to 'x11vnc/sslhelper.c')
-rw-r--r-- | x11vnc/sslhelper.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/x11vnc/sslhelper.c b/x11vnc/sslhelper.c index 2739e5c..2b07535 100644 --- a/x11vnc/sslhelper.c +++ b/x11vnc/sslhelper.c @@ -2041,6 +2041,9 @@ static int ssl_init(int s_in, int s_out) { if (getenv("SSL_DEBUG")) { db = atoi(getenv("SSL_DEBUG")); } + if (getenv("SSL_INIT_TIMEOUT")) { + timeout = atoi(getenv("SSL_INIT_TIMEOUT")); + } if (db) fprintf(stderr, "ssl_init: %d/%d\n", s_in, s_out); ssl = SSL_new(ctx); |