aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-11-11 13:12:45 +0100
committerPierre Ossman <ossman@cendio.se>2015-11-27 11:01:19 +0100
commit7d6bf1158360c2e9a348de79cf9916a3e9f04cb6 (patch)
treefd45b801d3d87ef06bec661d9311170852a99c2d
parent6f318e4451fcb45054408eaf568ca1c30c2d1ab6 (diff)
downloadtigervnc-7d6bf1158360c2e9a348de79cf9916a3e9f04cb6.tar.gz
tigervnc-7d6bf1158360c2e9a348de79cf9916a3e9f04cb6.zip
Fix copy-paste error for the secTypeX509Vnc security type
-rw-r--r--common/rfb/SecurityClient.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/SecurityClient.cxx b/common/rfb/SecurityClient.cxx
index fe347128..9bd780fc 100644
--- a/common/rfb/SecurityClient.cxx
+++ b/common/rfb/SecurityClient.cxx
@@ -84,7 +84,7 @@ CSecurity* SecurityClient::GetCSecurity(U32 secType)
return new CSecurityStack(secTypeX509None, "X509 with no password",
new CSecurityTLS(false));
case secTypeX509Vnc:
- return new CSecurityStack(secTypeX509None, "X509 with VNCAuth",
+ return new CSecurityStack(secTypeX509Vnc, "X509 with VNCAuth",
new CSecurityTLS(false), new CSecurityVncAuth());
case secTypeX509Plain:
return new CSecurityStack(secTypeX509Plain, "X509 with Username/Password",