aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/SecurityServer.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2014-09-17 16:39:28 +0200
committerPierre Ossman <ossman@cendio.se>2014-09-17 16:39:28 +0200
commit906800b173da0a20f23ac0cf063bb0f69e612738 (patch)
treec81000c9bdd9ac052651c525ff0fa52e9220cad5 /common/rfb/SecurityServer.cxx
parent0f15ee3b5488b7384b1aa80dfceff6f2115e3517 (diff)
downloadtigervnc-906800b173da0a20f23ac0cf063bb0f69e612738.tar.gz
tigervnc-906800b173da0a20f23ac0cf063bb0f69e612738.zip
Give a correct list of valid security schemes
Diffstat (limited to 'common/rfb/SecurityServer.cxx')
-rw-r--r--common/rfb/SecurityServer.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/common/rfb/SecurityServer.cxx b/common/rfb/SecurityServer.cxx
index 76ece770..5bd7b2c9 100644
--- a/common/rfb/SecurityServer.cxx
+++ b/common/rfb/SecurityServer.cxx
@@ -37,7 +37,11 @@ using namespace rfb;
StringParameter SecurityServer::secTypes
("SecurityTypes",
- "Specify which security scheme to use (None, VncAuth)",
+ "Specify which security scheme to use (None, VncAuth, Plain"
+#ifdef HAVE_GNUTLS
+ ", TLSNone, TLSVnc, TLSPlain, X509None, X509Vnc, X509Plain"
+#endif
+ ")",
#ifdef HAVE_GNUTLS
"VncAuth,TLSVnc",
#else