[Development] Implement VeNCrypt type support on client side. Currently only
TLSNone and TLSVnc VeNCrypt subtypes are implemented.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4046 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/common/rfb/SSecurityVeNCrypt.h b/common/rfb/SSecurityVeNCrypt.h
index 3d1e0e0..526dad1 100644
--- a/common/rfb/SSecurityVeNCrypt.h
+++ b/common/rfb/SSecurityVeNCrypt.h
@@ -49,14 +49,13 @@
 

     static StringParameter X509_CertFile, X509_KeyFile, secTypesStr;

 

-  protected:

-    static SSecurityStack* getSSecurityStack(int secType);

-

     /* XXX Derive Security class and merge those functions appropriately ? */

     static void getSecTypes(std::list<rdr::U32>* secTypes);

     static rdr::U32 secTypeNum(const char *name);

     static char* secTypeName(rdr::U32 num);

     static std::list<rdr::U32> parseSecTypes(const char *types);

+  protected:

+    static SSecurityStack* getSSecurityStack(int secType);

 

     SSecurityStack *ssecurityStack;

     bool haveSentVersion, haveRecvdMajorVersion, haveRecvdMinorVersion;