diff options
author | Adam Tkac <atkac@redhat.com> | 2010-04-23 14:16:04 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2010-04-23 14:16:04 +0000 |
commit | b10489b03966ce86ae091156ba6f021bc5d93377 (patch) | |
tree | c18b92163091de40a695b30f3ef58ab67296219b /unix/vncviewer | |
parent | dfe19cfff8deed3adbf0b4190763bbd243e56d07 (diff) | |
download | tigervnc-b10489b03966ce86ae091156ba6f021bc5d93377.tar.gz tigervnc-b10489b03966ce86ae091156ba6f021bc5d93377.zip |
[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
Diffstat (limited to 'unix/vncviewer')
-rw-r--r-- | unix/vncviewer/CConn.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/unix/vncviewer/CConn.cxx b/unix/vncviewer/CConn.cxx index 556d0586..406e167b 100644 --- a/unix/vncviewer/CConn.cxx +++ b/unix/vncviewer/CConn.cxx @@ -71,7 +71,8 @@ CConn::CConn(Display* dpy_, int argc_, char** argv_, network::Socket* sock_, 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); |