diff options
Diffstat (limited to 'x11vnc/connections.c')
-rw-r--r-- | x11vnc/connections.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/x11vnc/connections.c b/x11vnc/connections.c index c664377..246acae 100644 --- a/x11vnc/connections.c +++ b/x11vnc/connections.c @@ -2644,7 +2644,9 @@ static int do_reverse_connect(char *str_in) { } /* XXX use header */ #define OPENSSL_REVERSE 6 - openssl_init(1); + if (!getenv("X11VNC_DISABLE_SSL_CLIENT_MODE")) { + openssl_init(1); + } if (first_conn_timeout > 0) { set_alarm = 1; |