Disable --with-cafile by default to use OpenSSL default paths
This commit is contained in:
@@ -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 \
|
||||
|
@@ -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
2
configure
vendored
@@ -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
|
||||
|
@@ -43,8 +43,8 @@ SSL サポートについて
|
||||
SSLの認証局のPEM形式証明書群のあるディレクトリへのパス
|
||||
(デフォルトは<NULL>).
|
||||
ssl_ca_file ファイル名
|
||||
SSLの認証局のPEM形式証明書群のファイル(デフォルトはconfigureで
|
||||
自動設定).
|
||||
SSLの認証局のPEM形式証明書群のファイル(デフォルトはconfigure時に
|
||||
未設定なら"").
|
||||
ただし「SSLEAY_VERSION_NUMBER >= 0x0800」な環境でないと無駄なコードが増
|
||||
えるだけなので, configure時にdisableしておいたほうがよいでしょう.
|
||||
|
||||
|
Reference in New Issue
Block a user