Blame SOURCES/tigervnc11-rh692048.patch

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