diff options
author | Constantin Kaplinsky <const@tightvnc.com> | 2006-09-06 10:32:06 +0000 |
---|---|---|
committer | Constantin Kaplinsky <const@tightvnc.com> | 2006-09-06 10:32:06 +0000 |
commit | 5fa9d22b705100ca35ef9989130c9b705d9f3791 (patch) | |
tree | 0289ac3150e44a2a8ff8edb81469579624818ebd /common | |
parent | f167ddbeccd7a44147e1f0a1ed5658000f006ef5 (diff) | |
download | tigervnc-5fa9d22b705100ca35ef9989130c9b705d9f3791.tar.gz tigervnc-5fa9d22b705100ca35ef9989130c9b705d9f3791.zip |
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
Diffstat (limited to 'common')
-rw-r--r-- | common/rfb/SConnection.cxx | 5 | ||||
-rw-r--r-- | common/rfb/SConnection.h | 1 |
2 files changed, 6 insertions, 0 deletions
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<rdr::U8> secTypes; std::list<rdr::U8>::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(); |