[w3m-dev 04050] SSL verify

AIDA Shinra <[email protected]>
Newsgroups gmane.comp.web.w3m.devel
Message-ID <[email protected]>
相田です。

ここはこうではありませんか?それとも、意図的にopenssl s_clientの動作に
合わせているのでしょうか?
sslverify.diff (text/plain, 457 B)
--- url.c	27 Mar 2004 17:38:01 -0000	1.16.2.5
+++ url.c	30 Mar 2004 10:08:47 -0000
@@ -360,7 +360,9 @@
 		goto eend;
 	    }
 	}
-	if (SSL_CTX_load_verify_locations(ssl_ctx, ssl_ca_file, ssl_ca_path))
+	if ((!ssl_ca_file && !ssl_ca_path)
+		|| SSL_CTX_load_verify_locations(
+		    ssl_ctx, ssl_ca_file, ssl_ca_path))
 #endif				/* defined(USE_SSL_VERIFY) */
 	    SSL_CTX_set_default_verify_paths(ssl_ctx);
 #endif				/* SSLEAY_VERSION_NUMBER >= 0x0800 */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.