summaryrefslogtreecommitdiffstats
path: root/classes/ssl/tightvnc-1.3dev7_javasrc-vncviewer-ssl.patch
diff options
context:
space:
mode:
authorrunge <runge>2007-09-11 20:27:13 +0000
committerrunge <runge>2007-09-11 20:27:13 +0000
commit1392ead83a06762b57d1cb1ac37108675ffc666b (patch)
tree8e7bd90c6320ed14ec4442d72027a6d3282346cc /classes/ssl/tightvnc-1.3dev7_javasrc-vncviewer-ssl.patch
parent660d66c1d93da8fedd08a55413b640a8c6af02f0 (diff)
downloadlibtdevnc-1392ead83a06762b57d1cb1ac37108675ffc666b.tar.gz
libtdevnc-1392ead83a06762b57d1cb1ac37108675ffc666b.zip
update ss_vncviewer script, jars, and patch files.
Diffstat (limited to 'classes/ssl/tightvnc-1.3dev7_javasrc-vncviewer-ssl.patch')
-rw-r--r--classes/ssl/tightvnc-1.3dev7_javasrc-vncviewer-ssl.patch15
1 files changed, 8 insertions, 7 deletions
diff --git a/classes/ssl/tightvnc-1.3dev7_javasrc-vncviewer-ssl.patch b/classes/ssl/tightvnc-1.3dev7_javasrc-vncviewer-ssl.patch
index b67703f..cb0b82e 100644
--- a/classes/ssl/tightvnc-1.3dev7_javasrc-vncviewer-ssl.patch
+++ b/classes/ssl/tightvnc-1.3dev7_javasrc-vncviewer-ssl.patch
@@ -73,8 +73,8 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/RfbProto.java vnc_javasrc/RfbProto
serverMajor = (b[4] - '0') * 100 + (b[5] - '0') * 10 + (b[6] - '0');
diff -x VncCanvas.java -Naur vnc_javasrc.orig/SSLSocketToMe.java vnc_javasrc/SSLSocketToMe.java
--- vnc_javasrc.orig/SSLSocketToMe.java 1969-12-31 19:00:00.000000000 -0500
-+++ vnc_javasrc/SSLSocketToMe.java 2007-09-04 23:13:00.000000000 -0400
-@@ -0,0 +1,1452 @@
++++ vnc_javasrc/SSLSocketToMe.java 2007-09-05 00:13:45.000000000 -0400
+@@ -0,0 +1,1453 @@
+/*
+ * SSLSocketToMe.java: add SSL encryption to Java VNC Viewer.
+ *
@@ -587,7 +587,7 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/SSLSocketToMe.java vnc_javasrc/SSL
+ throw new Exception("forcing CONNECT");
+ }
+
-+ int timeout = 10;
++ int timeout = 6;
+ if (timeout > 0) {
+ socket = (SSLSocket) factory.createSocket();
+ InetSocketAddress inetaddr = new InetSocketAddress(host, port);
@@ -1454,9 +1454,8 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/SSLSocketToMe.java vnc_javasrc/SSL
+ dialog.pack();
+ dialog.resize(dialog.preferredSize());
+
-+ System.out.println("calling show()");
+ dialog.show(); /* block here til Yes or No pressed. */
-+ System.out.println("done show()");
++ System.out.println("done show()");
+ return;
+ }
+
@@ -1464,11 +1463,13 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/SSLSocketToMe.java vnc_javasrc/SSL
+ System.out.println(evt.getActionCommand());
+ if (evt.getSource() == yes) {
+ showCertDialog = false;
++ //dialog.dispose();
++ dialog.hide();
+ } else if (evt.getSource() == no) {
+ showCertDialog = true;
++ //dialog.dispose();
++ dialog.hide();
+ }
-+ //dialog.dispose();
-+ dialog.hide();
+ System.out.println("done actionPerformed()");
+ }
+}