]> source.dussan.org Git - tigervnc.git/commitdiff
Minor refactoring to prepare the source for handling TightVNC protocol extensions...
authorConstantin Kaplinsky <const@tightvnc.com>
Wed, 6 Sep 2006 10:32:06 +0000 (10:32 +0000)
committerConstantin Kaplinsky <const@tightvnc.com>
Wed, 6 Sep 2006 10:32:06 +0000 (10:32 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@649 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/rfb/SConnection.cxx
common/rfb/SConnection.h

index 1422b5469169709c89464f9e3b150f4848545614..3901a81190970eb865df329818c2ce6df35b5f51 100644 (file)
@@ -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;
index 6b943f5e6cd19f25f52808fa11329ce441c118d0..4c766315db3532268840f254f260fc188082575a 100644 (file)
@@ -176,6 +176,7 @@ namespace rfb {
 
     void processVersionMsg();
     void processSecurityTypeMsg();
+    void processSecurityType(int secType);
     void processSecurityMsg();
     void processInitMsg();