[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/unix/vncviewer/CConn.cxx b/unix/vncviewer/CConn.cxx
index 556d058..406e167 100644
--- a/unix/vncviewer/CConn.cxx
+++ b/unix/vncviewer/CConn.cxx
@@ -71,7 +71,8 @@
setShared(shared);
addSecType(secTypeNone);
addSecType(secTypeVncAuth);
- security->upg = this; /* Security instance is created in CConnection costructor. */
+ addSecType(secTypeVeNCrypt);
+ CSecurity::upg = this; /* Security instance is created in CConnection costructor. */
CharArray encStr(preferredEncoding.getData());
int encNum = encodingNum(encStr.buf);