summaryrefslogtreecommitdiffstats
path: root/x11vnc/x11vnc.c
diff options
context:
space:
mode:
authorrunge <runge>2006-08-02 16:18:23 +0000
committerrunge <runge>2006-08-02 16:18:23 +0000
commit268359a66e684d738e1526df2d38a83fa6781092 (patch)
tree9bbe5c69bf5f5ad61b62b796714b1824977b65ad /x11vnc/x11vnc.c
parent34c62cfd79c6dbb3d7c87ebcf358ad6f42bdb31e (diff)
downloadlibvncserver-268359a66e684d738e1526df2d38a83fa6781092.zip
libvncserver-268359a66e684d738e1526df2d38a83fa6781092.tar.gz
x11vnc: tweaks to ssl_xfer; -ssltimeout option.
Diffstat (limited to 'x11vnc/x11vnc.c')
-rw-r--r--x11vnc/x11vnc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c
index 97985fa..b31f585 100644
--- a/x11vnc/x11vnc.c
+++ b/x11vnc/x11vnc.c
@@ -1059,6 +1059,10 @@ static void print_settings(int try_http, int bg, char *gui_str) {
: "null");
fprintf(stderr, " unixpw: %d\n", unixpw);
fprintf(stderr, " unixpw_lst: %s\n", unixpw_list ? unixpw_list:"null");
+ fprintf(stderr, " ssl: %s\n", openssl_pem ? openssl_pem:"null");
+ fprintf(stderr, " ssldir: %s\n", ssl_certs_dir ? ssl_certs_dir:"null");
+ fprintf(stderr, " ssltimeout %d\n", ssl_timeout_secs);
+ fprintf(stderr, " sslverify: %s\n", ssl_verify ? ssl_verify:"null");
fprintf(stderr, " stunnel: %d\n", use_stunnel);
fprintf(stderr, " accept: %s\n", accept_cmd ? accept_cmd
: "null");
@@ -1674,6 +1678,9 @@ int main(int argc, char* argv[]) {
i++;
}
}
+ } else if (!strcmp(arg, "-ssltimeout")) {
+ CHECK_ARGC
+ ssl_timeout_secs = atoi(argv[++i]);
} else if (!strcmp(arg, "-ssldir")) {
CHECK_ARGC
ssl_certs_dir = strdup(argv[++i]);
OpenPOWER on IntegriCloud