summaryrefslogtreecommitdiff
blob: fa5f6c0f2525f22f48ef8e2eed63b089a84b0a78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Index: x11vnc/sslhelper.c
===================================================================
RCS file: /cvsroot/libvncserver/libvncserver/x11vnc/sslhelper.c,v
retrieving revision 1.31
retrieving revision 1.32
diff --unified -r1.31 -r1.32
--- x11vnc/sslhelper.c	16 May 2007 21:29:44 -0000	1.31
+++ x11vnc/sslhelper.c	15 Jun 2007 03:19:06 -0000	1.32
@@ -34,6 +34,11 @@
 pid_t openssl_last_helper_pid = 0;
 char *openssl_last_ip = NULL;
 
+static char *certret = NULL;
+static int certret_fd = -1;
+static mode_t omode;
+char *certret_str = NULL;
+
 void raw_xfer(int csock, int s_in, int s_out);
 
 #if !LIBVNCSERVER_HAVE_LIBSSL
@@ -1315,11 +1320,6 @@
 	return 1;
 }
 
-static char *certret = NULL;
-static int certret_fd = -1;
-static mode_t omode;
-char *certret_str = NULL;
-
 void accept_openssl(int mode, int presock) {
 	int sock = -1, listen = -1, cport, csock, vsock;	
 	int peerport = 0;