diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-02-04 14:49:21 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-02-04 14:49:21 +0000 |
commit | f767a82fd307527417188f07efa0b0a7e2655566 (patch) | |
tree | 663e03d43815b1a5e0f34ec82e28521a302650d1 /url.c | |
parent | [w3m-dev 02980] Re: code_to_str not found ifndef JP_CHARSET (diff) | |
download | w3m-f767a82fd307527417188f07efa0b0a7e2655566.tar.gz w3m-f767a82fd307527417188f07efa0b0a7e2655566.zip |
[w3m-dev 02985] inputAnswer() and no "ssl_forbid_method"
* file.c (inputAnswer): buf size is 80
* url.c (openSSLHandle): if old_ssl_forbid_method == ssl_forbid_method
ssl path is not modified
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to '')
-rw-r--r-- | url.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: url.c,v 1.40 2002/02/01 13:58:47 inu Exp $ */ +/* $Id: url.c,v 1.41 2002/02/04 14:49:21 ukai Exp $ */ #include <stdio.h> #include "config.h" #include "fm.h" @@ -286,8 +286,9 @@ openSSLHandle(int sock, char *hostname) static int old_ssl_verify_server = -1; #endif - if (!old_ssl_forbid_method || !ssl_forbid_method || - strcmp(old_ssl_forbid_method, ssl_forbid_method)) { + if (old_ssl_forbid_method != ssl_forbid_method + && (!old_ssl_forbid_method || !ssl_forbid_method || + strcmp(old_ssl_forbid_method, ssl_forbid_method))) { old_ssl_forbid_method = ssl_forbid_method; #ifdef USE_SSL_VERIFY ssl_path_modified = 1; |