]> git.pld-linux.org Git - packages/w3m.git/blob - w3m-ssl-segv.patch
- updated to version 0.3 (it can display images in xterm!!!)
[packages/w3m.git] / w3m-ssl-segv.patch
1 diff -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  }
10  
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 @@
29  #endif                         /* defined(USE_SSL_VERIFY) */
30             SSL_CTX_set_default_verify_paths(ssl_ctx);
31  #endif                         /* SSLEAY_VERSION_NUMBER >= 0x0800 */
32 -/*** by inu
33 -        atexit(free_ssl_ctx);
34 -*/
35      }
36      handle = SSL_new(ssl_ctx);
37      SSL_set_fd(handle, sock);
This page took 0.063838 seconds and 3 git commands to generate.