aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/rfb/Security.cxx14
1 files changed, 12 insertions, 2 deletions
diff --git a/common/rfb/Security.cxx b/common/rfb/Security.cxx
index 600df14d..71e45de8 100644
--- a/common/rfb/Security.cxx
+++ b/common/rfb/Security.cxx
@@ -55,12 +55,22 @@ UserPasswdGetter *CSecurity::upg = NULL;
StringParameter Security::secTypesViewer
("SecurityTypes",
"Specify which security scheme to use (None, VncAuth)",
- "VncAuth", ConfViewer);
+#ifdef HAVE_GNUTLS
+ "VeNCrypt,X509Vnc,TLSVnc,X509None,TLSNone,VncAuth,None",
+#else
+ "VncAuth,None",
+#endif
+ConfViewer);
StringParameter Security::secTypesServer
("SecurityTypes",
"Specify which security scheme to use (None, VncAuth)",
- "VncAuth", ConfServer);
+#ifdef HAVE_GNUTLS
+ "VeNCrypt,TLSVnc,VncAuth",
+#else
+ "VncAuth",
+#endif
+ConfServer);
Security::Security(SecurityClassType secClassType)
{