]> source.dussan.org Git - tigervnc.git/commitdiff
Give a correct list of valid security schemes
authorPierre Ossman <ossman@cendio.se>
Wed, 17 Sep 2014 14:39:28 +0000 (16:39 +0200)
committerPierre Ossman <ossman@cendio.se>
Wed, 17 Sep 2014 14:39:28 +0000 (16:39 +0200)
common/rfb/SecurityClient.cxx
common/rfb/SecurityServer.cxx

index 4173c74d2ebdf371f38a355ec38115df6fdf58e4..fe347128597c7e06d23bd5a35c0962bb75c4cf1b 100644 (file)
@@ -43,7 +43,11 @@ UserMsgBox *CSecurityTLS::msg = NULL;
 
 StringParameter SecurityClient::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
  "X509Plain,TLSPlain,X509Vnc,TLSVnc,X509None,TLSNone,VncAuth,None",
 #else
index 76ece770d804adc81f7b47151b7926891d191b5b..5bd7b2c9fd416a65c12c272ad6d4be812d547c33 100644 (file)
@@ -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