summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2018-11-11 17:48:38 +0100
committerChristian Beier <dontmind@freeshell.org>2018-11-11 17:48:38 +0100
commitaa8a1aa76880ffb8f23b98d0dbe35988b2609877 (patch)
tree08ccb45e81436fe3bcfd7e4296bcd202f6b0c3d6
parent162d716b4c095a87aab2261857d583d68e3b3ea6 (diff)
downloadlibtdevnc-aa8a1aa76880ffb8f23b98d0dbe35988b2609877.tar.gz
libtdevnc-aa8a1aa76880ffb8f23b98d0dbe35988b2609877.zip
Add SSL options to rfbUsage output
-rw-r--r--libvncserver/cargs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libvncserver/cargs.c b/libvncserver/cargs.c
index 4da04b5..85b937d 100644
--- a/libvncserver/cargs.c
+++ b/libvncserver/cargs.c
@@ -43,6 +43,10 @@ rfbUsage(void)
"new non-shared\n"
" connection comes in (refuse new connection "
"instead)\n");
+#ifdef LIBVNCSERVER_WITH_WEBSOCKETS
+ fprintf(stderr, "-sslkeyfile path set path to private key file for encrypted WebSockets connections\n");
+ fprintf(stderr, "-sslcertfile path set path to certificate file for encrypted WebSockets connections\n");
+#endif
fprintf(stderr, "-httpdir dir-path enable http server using dir-path home\n");
fprintf(stderr, "-httpport portnum use portnum for http connection\n");
#ifdef LIBVNCSERVER_IPv6