]> source.dussan.org Git - tigervnc.git/commitdiff
Fix copy-paste error for the secTypeX509Vnc security type
authorPierre Ossman <ossman@cendio.se>
Wed, 11 Nov 2015 12:12:45 +0000 (13:12 +0100)
committerPierre Ossman <ossman@cendio.se>
Fri, 27 Nov 2015 10:01:19 +0000 (11:01 +0100)
common/rfb/SecurityClient.cxx

index fe347128597c7e06d23bd5a35c0962bb75c4cf1b..9bd780fc1fe37d7c4c39ad8670d5914ba6c9bf58 100644 (file)
@@ -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",