4b5b9a
diff -up tigervnc-1.0.90-20110314svn4359/common/rfb/SecurityClient.cxx.rh690245 tigervnc-1.0.90-20110314svn4359/common/rfb/SecurityClient.cxx
4b5b9a
--- tigervnc-1.0.90-20110314svn4359/common/rfb/SecurityClient.cxx.rh690245	2011-02-21 14:14:16.000000000 +0100
4b5b9a
+++ tigervnc-1.0.90-20110314svn4359/common/rfb/SecurityClient.cxx	2011-03-31 09:47:34.519099718 +0200
4b5b9a
@@ -45,7 +45,7 @@ StringParameter SecurityClient::secTypes
4b5b9a
 ("SecurityTypes",
4b5b9a
  "Specify which security scheme to use (None, VncAuth)",
4b5b9a
 #ifdef HAVE_GNUTLS
4b5b9a
- "X509Plain,TLSPlain,X509Vnc,TLSVnc,X509None,TLSNone,VncAuth,None",
4b5b9a
+ "VeNCrypt,X509Plain,TLSPlain,X509Vnc,TLSVnc,X509None,TLSNone,VncAuth,None",
4b5b9a
 #else
4b5b9a
  "VncAuth,None",
4b5b9a
 #endif
4b5b9a
diff -up tigervnc-1.0.90-20110314svn4359/common/rfb/Security.cxx.rh690245 tigervnc-1.0.90-20110314svn4359/common/rfb/Security.cxx
4b5b9a
--- tigervnc-1.0.90-20110314svn4359/common/rfb/Security.cxx.rh690245	2011-02-21 14:14:16.000000000 +0100
4b5b9a
+++ tigervnc-1.0.90-20110314svn4359/common/rfb/Security.cxx	2011-03-31 09:47:34.519099718 +0200
4b5b9a
@@ -67,7 +67,6 @@ const std::list<rdr::U8> Security::GetEn
4b5b9a
   list<rdr::U8> result;
4b5b9a
   list<U32>::iterator i;
4b5b9a
 
4b5b9a
-  result.push_back(secTypeVeNCrypt);
4b5b9a
   for (i = enabledSecTypes.begin(); i != enabledSecTypes.end(); i++)
4b5b9a
     if (*i < 0x100)
4b5b9a
       result.push_back(*i);
4b5b9a
@@ -105,8 +104,6 @@ bool Security::IsSupported(U32 secType)
4b5b9a
   for (i = enabledSecTypes.begin(); i != enabledSecTypes.end(); i++)
4b5b9a
     if (*i == secType)
4b5b9a
       return true;
4b5b9a
-  if (secType == secTypeVeNCrypt)
4b5b9a
-    return true;
4b5b9a
 
4b5b9a
   return false;
4b5b9a
 }
4b5b9a
diff -up tigervnc-1.0.90-20110314svn4359/common/rfb/SecurityServer.cxx.rh690245 tigervnc-1.0.90-20110314svn4359/common/rfb/SecurityServer.cxx
4b5b9a
--- tigervnc-1.0.90-20110314svn4359/common/rfb/SecurityServer.cxx.rh690245	2011-02-21 14:50:17.000000000 +0100
4b5b9a
+++ tigervnc-1.0.90-20110314svn4359/common/rfb/SecurityServer.cxx	2011-03-31 10:06:43.595362302 +0200
4b5b9a
@@ -39,7 +39,7 @@ StringParameter SecurityServer::secTypes
4b5b9a
 ("SecurityTypes",
4b5b9a
  "Specify which security scheme to use (None, VncAuth)",
4b5b9a
 #ifdef HAVE_GNUTLS
4b5b9a
- "VncAuth,TLSVnc",
4b5b9a
+ "VncAuth",
4b5b9a
 #else
4b5b9a
  "VncAuth",
4b5b9a
 #endif