From 7d6bf1158360c2e9a348de79cf9916a3e9f04cb6 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 11 Nov 2015 13:12:45 +0100 Subject: [PATCH] Fix copy-paste error for the secTypeX509Vnc security type --- common/rfb/SecurityClient.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.39.5