From: Adam Tkac Date: Thu, 18 Nov 2010 14:19:08 +0000 (+0000) Subject: [Bugfix] java: Disable Tight security type. X-Git-Tag: v1.0.90~117 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1eda6faf1026a57d42375dd9c52137b3c204ef66;p=tigervnc.git [Bugfix] java: Disable Tight security type. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4201 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/java/src/com/tigervnc/vncviewer/RfbProto.java b/java/src/com/tigervnc/vncviewer/RfbProto.java index e88d8e79..841b4748 100644 --- a/java/src/com/tigervnc/vncviewer/RfbProto.java +++ b/java/src/com/tigervnc/vncviewer/RfbProto.java @@ -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++) {