summaryrefslogtreecommitdiffstats
path: root/classes/ssl/ultravnc-102-JavaViewer-ssl-etc.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/ultravnc-102-JavaViewer-ssl-etc.patch
parent660d66c1d93da8fedd08a55413b640a8c6af02f0 (diff)
downloadlibvncserver-1392ead83a06762b57d1cb1ac37108675ffc666b.zip
libvncserver-1392ead83a06762b57d1cb1ac37108675ffc666b.tar.gz
update ss_vncviewer script, jars, and patch files.
Diffstat (limited to 'classes/ssl/ultravnc-102-JavaViewer-ssl-etc.patch')
-rw-r--r--classes/ssl/ultravnc-102-JavaViewer-ssl-etc.patch15
1 files changed, 8 insertions, 7 deletions
diff --git a/classes/ssl/ultravnc-102-JavaViewer-ssl-etc.patch b/classes/ssl/ultravnc-102-JavaViewer-ssl-etc.patch
index 4bf45a5..b06036f 100644
--- a/classes/ssl/ultravnc-102-JavaViewer-ssl-etc.patch
+++ b/classes/ssl/ultravnc-102-JavaViewer-ssl-etc.patch
@@ -1815,8 +1815,8 @@ diff -Naur JavaViewer.orig/RfbProto.java JavaViewer/RfbProto.java
diff -Naur JavaViewer.orig/SSLSocketToMe.java JavaViewer/SSLSocketToMe.java
--- JavaViewer.orig/SSLSocketToMe.java 1969-12-31 19:00:00.000000000 -0500
-+++ JavaViewer/SSLSocketToMe.java 2007-09-04 23:13:00.000000000 -0400
-@@ -0,0 +1,1452 @@
++++ JavaViewer/SSLSocketToMe.java 2007-09-05 00:13:45.000000000 -0400
+@@ -0,0 +1,1453 @@
+/*
+ * SSLSocketToMe.java: add SSL encryption to Java VNC Viewer.
+ *
@@ -2329,7 +2329,7 @@ diff -Naur JavaViewer.orig/SSLSocketToMe.java JavaViewer/SSLSocketToMe.java
+ throw new Exception("forcing CONNECT");
+ }
+
-+ int timeout = 10;
++ int timeout = 6;
+ if (timeout > 0) {
+ socket = (SSLSocket) factory.createSocket();
+ InetSocketAddress inetaddr = new InetSocketAddress(host, port);
@@ -3196,9 +3196,8 @@ diff -Naur JavaViewer.orig/SSLSocketToMe.java JavaViewer/SSLSocketToMe.java
+ 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;
+ }
+
@@ -3206,11 +3205,13 @@ diff -Naur JavaViewer.orig/SSLSocketToMe.java JavaViewer/SSLSocketToMe.java
+ 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()");
+ }
+}
OpenPOWER on IntegriCloud