From: Adam Tkac Date: Thu, 12 Aug 2010 13:54:59 +0000 (+0000) Subject: [Bugfix] Return also "standard" security types (except VeNCrypt type) as X-Git-Tag: v1.0.90~193 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=95e2fe875860954c17a98920537e4d40b0805c9e;p=tigervnc.git [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 --- 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;