Disable --with-cafile by default to use OpenSSL default paths

This commit is contained in:
Tatsuya Kinoshita
2021-02-22 22:34:03 +09:00
parent e33ed88bc2
commit 301835c267
4 changed files with 5 additions and 5 deletions

View File

@@ -537,7 +537,7 @@ if test x"$enable_sslverify" = xyes; then
AC_MSG_CHECKING(for CA file location)
AC_ARG_WITH(cafile,
[ --with-cafile[[=CAFILE]] CA file to verify SSL certificate [[guessed]]],,
[with_cafile=yes])
[with_cafile=no])
if test x"$with_cafile" = xyes; then
for f in /etc/ssl/certs/ca-certificates.crt \
/etc/pki/tls/certs/ca-bundle.crt \

View File

@@ -129,7 +129,7 @@ INSTALL_W3MIMGDISPLAY=$(INSTALL_PROGRAM)
#define USE_DIGEST_AUTH
#define USE_SSL
#define USE_SSL_VERIFY
#define DEF_CAFILE "/etc/ssl/certs/ca-certificates.crt"
#define DEF_CAFILE ""
#undef USE_NNTP
#undef USE_GOPHER
#define USE_EXTERNAL_URI_LOADER

2
configure vendored
View File

@@ -8590,7 +8590,7 @@ $as_echo_n "checking for CA file location... " >&6; }
if test "${with_cafile+set}" = set; then :
withval=$with_cafile;
else
with_cafile=yes
with_cafile=no
fi
if test x"$with_cafile" = xyes; then

View File

@@ -43,8 +43,8 @@ SSL サポートについて
SSLの認証局のPEM形式証明書群のあるディレクトリへのパス
(デフォルトは<NULL>).
ssl_ca_file ファイル名
SSLの認証局のPEM形式証明書群のファイル(デフォルトはconfigure
自動設定).
SSLの認証局のPEM形式証明書群のファイル(デフォルトはconfigure時に
未設定なら"").
ただし「SSLEAY_VERSION_NUMBER >= 0x0800」な環境でないと無駄なコードが増
えるだけなので, configure時にdisableしておいたほうがよいでしょう.