From 5fa9d22b705100ca35ef9989130c9b705d9f3791 Mon Sep 17 00:00:00 2001 From: Constantin Kaplinsky Date: Wed, 6 Sep 2006 10:32:06 +0000 Subject: [PATCH] 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 --- common/rfb/SConnection.cxx | 5 +++++ common/rfb/SConnection.h | 1 + 2 files changed, 6 insertions(+) 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(); -- 2.39.5