Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
d8812f8c
Commit
d8812f8c
authored
May 08, 2008
by
runge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add check for "https" to viewers. update jars.
parent
8641c8e7
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
8 deletions
+14
-8
SignedUltraViewerSSL.jar
classes/ssl/SignedUltraViewerSSL.jar
+0
-0
SignedVncViewer.jar
classes/ssl/SignedVncViewer.jar
+0
-0
UltraViewerSSL.jar
classes/ssl/UltraViewerSSL.jar
+0
-0
VncViewer.jar
classes/ssl/VncViewer.jar
+0
-0
tightvnc-1.3dev7_javasrc-vncviewer-ssl.patch
classes/ssl/tightvnc-1.3dev7_javasrc-vncviewer-ssl.patch
+7
-4
ultravnc-102-JavaViewer-ssl-etc.patch
classes/ssl/ultravnc-102-JavaViewer-ssl-etc.patch
+7
-4
No files found.
classes/ssl/SignedUltraViewerSSL.jar
View file @
d8812f8c
No preview for this file type
classes/ssl/SignedVncViewer.jar
View file @
d8812f8c
No preview for this file type
classes/ssl/UltraViewerSSL.jar
View file @
d8812f8c
No preview for this file type
classes/ssl/VncViewer.jar
View file @
d8812f8c
No preview for this file type
classes/ssl/tightvnc-1.3dev7_javasrc-vncviewer-ssl.patch
View file @
d8812f8c
...
...
@@ -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 200
7-09-05 00:13:45
.000000000 -0400
@@ -0,0 +1,145
3
@@
+++ vnc_javasrc/SSLSocketToMe.java 200
8-04-15 12:54:51
.000000000 -0400
@@ -0,0 +1,145
6
@@
+/*
+ * SSLSocketToMe.java: add SSL encryption to Java VNC Viewer.
+ *
...
...
@@ -834,7 +834,7 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/SSLSocketToMe.java vnc_javasrc/SSL
+ if (s2.indexOf("proxy") < 0 && v2.indexOf("proxy") < 0) {
+ continue;
+ }
+ if (v2.indexOf("http
s
") < 0) {
+ if (v2.indexOf("http") < 0) {
+ continue;
+ }
+
...
...
@@ -860,8 +860,11 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/SSLSocketToMe.java vnc_javasrc/SSL
+ String p = pieces[i];
+ int j = p.indexOf("https");
+ if (j < 0) {
+ j = p.indexOf("http");
+ if (j < 0) {
+ continue;
+ }
+ }
+ j = p.indexOf("=", j);
+ if (j < 0) {
+ continue;
...
...
classes/ssl/ultravnc-102-JavaViewer-ssl-etc.patch
View file @
d8812f8c
...
...
@@ -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 200
7-09-05 00:13:45
.000000000 -0400
@@ -0,0 +1,145
3
@@
+++ JavaViewer/SSLSocketToMe.java 200
8-04-15 12:54:51
.000000000 -0400
@@ -0,0 +1,145
6
@@
+/*
+ * SSLSocketToMe.java: add SSL encryption to Java VNC Viewer.
+ *
...
...
@@ -2576,7 +2576,7 @@ diff -Naur JavaViewer.orig/SSLSocketToMe.java JavaViewer/SSLSocketToMe.java
+ if (s2.indexOf("proxy") < 0 && v2.indexOf("proxy") < 0) {
+ continue;
+ }
+ if (v2.indexOf("http
s
") < 0) {
+ if (v2.indexOf("http") < 0) {
+ continue;
+ }
+
...
...
@@ -2602,8 +2602,11 @@ diff -Naur JavaViewer.orig/SSLSocketToMe.java JavaViewer/SSLSocketToMe.java
+ String p = pieces[i];
+ int j = p.indexOf("https");
+ if (j < 0) {
+ j = p.indexOf("http");
+ if (j < 0) {
+ continue;
+ }
+ }
+ j = p.indexOf("=", j);
+ if (j < 0) {
+ continue;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment