]> git.pld-linux.org Git - packages/w3m.git/blame - w3m-ssl-segv.patch
- release 2
[packages/w3m.git] / w3m-ssl-segv.patch
CommitLineData
a73ac8b2
JB
1diff -Nur w3m-0.2.3.2.orig/url.c w3m-0.2.3.2/url.c
2--- w3m-0.2.3.2.orig/url.c Fri Dec 7 08:58:07 2001
3+++ w3m-0.2.3.2/url.c Sun Dec 23 15:22:48 2001
4@@ -239,6 +239,7 @@
5 {
6 if (ssl_ctx != NULL)
7 SSL_CTX_free(ssl_ctx);
8+ ssl_ctx = NULL;
9 }
22d7864d 10
a73ac8b2
JB
11 #if SSLEAY_VERSION_NUMBER >= 0x00905100
12@@ -288,7 +289,6 @@
13 ssl_path_modified = 1;
14 #else
15 free_ssl_ctx();
16- ssl_ctx = NULL;
17 #endif
18 }
19 #ifdef USE_SSL_VERIFY
20@@ -298,7 +298,6 @@
21 }
22 if (ssl_path_modified) {
23 free_ssl_ctx();
24- ssl_ctx = NULL;
25 ssl_path_modified = 0;
26 }
27 #endif /* defined(USE_SSL_VERIFY) */
28@@ -350,9 +349,6 @@
22d7864d
JB
29 #endif /* defined(USE_SSL_VERIFY) */
30 SSL_CTX_set_default_verify_paths(ssl_ctx);
31 #endif /* SSLEAY_VERSION_NUMBER >= 0x0800 */
a73ac8b2
JB
32-/*** by inu
33- atexit(free_ssl_ctx);
34-*/
22d7864d
JB
35 }
36 handle = SSL_new(ssl_ctx);
37 SSL_set_fd(handle, sock);
This page took 0.071472 seconds and 4 git commands to generate.