From 95e2fe875860954c17a98920537e4d40b0805c9e Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Thu, 12 Aug 2010 13:54:59 +0000 Subject: [PATCH] [Bugfix] Return also "standard" security types (except VeNCrypt type) as VeNCrypt subtypes. This is same behavior as original VeNCrypt implementation. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4121 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- common/rfb/Security.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/rfb/Security.cxx b/common/rfb/Security.cxx index b7ce7149..41029204 100644 --- a/common/rfb/Security.cxx +++ b/common/rfb/Security.cxx @@ -84,7 +84,7 @@ const std::list Security::GetEnabledExtSecTypes(void) list::iterator i; for (i = enabledSecTypes.begin(); i != enabledSecTypes.end(); i++) - if (*i >= 0x100) + if (*i != secTypeVeNCrypt) /* Do not include VeNCrypt type to avoid loops */ result.push_back(*i); return result; -- 2.39.5