]> source.dussan.org Git - tigervnc.git/commitdiff
[Bugfix] java: Disable Tight security type.
authorAdam Tkac <atkac@redhat.com>
Thu, 18 Nov 2010 14:19:08 +0000 (14:19 +0000)
committerAdam Tkac <atkac@redhat.com>
Thu, 18 Nov 2010 14:19:08 +0000 (14:19 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4201 3789f03b-4d11-0410-bbf8-ca57d06f2519

java/src/com/tigervnc/vncviewer/RfbProto.java

index e88d8e7923c89ed5c0d97b40e3c495a85cfe476b..841b474855418efc25938fc526774acc42bf632b 100644 (file)
@@ -380,6 +380,7 @@ class RfbProto {
     byte[] secTypes = new byte[nSecTypes];
     readFully(secTypes);
 
+/*
     // Find out if the server supports TightVNC protocol extensions
     for (int i = 0; i < nSecTypes; i++) {
       if (secTypes[i] == SecTypeTight) {
@@ -388,6 +389,7 @@ class RfbProto {
        return SecTypeTight;
       }
     }
+*/
 
     // Find first supported security type.
     for (int i = 0; i < nSecTypes; i++) {