Signed-off-by: Martin Koegler <mkoeg...@auto.tuwien.ac.at>
---
 common/rfb/SSecurityVeNCrypt.h |    9 ---------
 common/rfb/Security.h          |    9 +++++++++
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/common/rfb/SSecurityVeNCrypt.h b/common/rfb/SSecurityVeNCrypt.h
index d44a6a2..6e84465 100644
--- a/common/rfb/SSecurityVeNCrypt.h
+++ b/common/rfb/SSecurityVeNCrypt.h
@@ -38,15 +38,6 @@
 
 namespace rfb {
 
-  /* VeNCrypt subtypes */
-  const int secTypePlain       = 256;
-  const int secTypeTLSNone     = 257;
-  const int secTypeTLSVnc      = 258;
-  const int secTypeTLSPlain    = 259;
-  const int secTypeX509None    = 260;
-  const int secTypeX509Vnc     = 261;
-  const int secTypeX509Plain   = 262;
-
   class SSecurityVeNCrypt : public SSecurity {
   public:
     SSecurityVeNCrypt(void);
diff --git a/common/rfb/Security.h b/common/rfb/Security.h
index dd5343a..4990a54 100644
--- a/common/rfb/Security.h
+++ b/common/rfb/Security.h
@@ -45,6 +45,15 @@ namespace rfb {
   const rdr::U8 secTypeTLS     = 18;
   const rdr::U8 secTypeVeNCrypt= 19;
 
+  /* VeNCrypt subtypes */
+  const int secTypePlain       = 256;
+  const int secTypeTLSNone     = 257;
+  const int secTypeTLSVnc      = 258;
+  const int secTypeTLSPlain    = 259;
+  const int secTypeX509None    = 260;
+  const int secTypeX509Vnc     = 261;
+  const int secTypeX509Plain   = 262;
+
   // result types
 
   const rdr::U32 secResultOK = 0;
-- 
1.6.4.2


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to