From: Constantin Kaplinsky Date: Wed, 6 Sep 2006 10:32:06 +0000 (+0000) Subject: Minor refactoring to prepare the source for handling TightVNC protocol extensions... X-Git-Tag: v0.0.90~384^2~234 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5fa9d22b705100ca35ef9989130c9b705d9f3791;p=tigervnc.git Minor refactoring to prepare the source for handling TightVNC protocol extensions. This one does not introduce any real changes. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@649 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/common/rfb/SConnection.cxx b/common/rfb/SConnection.cxx index 1422b546..3901a811 100644 --- a/common/rfb/SConnection.cxx +++ b/common/rfb/SConnection.cxx @@ -179,6 +179,11 @@ void SConnection::processSecurityTypeMsg() vlog.debug("processing security type message"); int secType = is->readU8(); + processSecurityType(secType); +} + +void SConnection::processSecurityType(int secType) +{ // Verify that the requested security type should be offered std::list secTypes; std::list::iterator i; diff --git a/common/rfb/SConnection.h b/common/rfb/SConnection.h index 6b943f5e..4c766315 100644 --- a/common/rfb/SConnection.h +++ b/common/rfb/SConnection.h @@ -176,6 +176,7 @@ namespace rfb { void processVersionMsg(); void processSecurityTypeMsg(); + void processSecurityType(int secType); void processSecurityMsg(); void processInitMsg();