parent
e83c83807d
commit
440d00d17e
@ -1338,10 +1338,10 @@ AS_HELP_STRING([--without-ca-path], [Don't use a default CA path]),
|
|||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_MSG_CHECKING([whether to use builtin CA store of SSL library])
|
AC_MSG_CHECKING([whether to use built-in CA store of SSL library])
|
||||||
AC_ARG_WITH(ca-fallback,
|
AC_ARG_WITH(ca-fallback,
|
||||||
AS_HELP_STRING([--with-ca-fallback], [Use the built in CA store of the SSL library])
|
AS_HELP_STRING([--with-ca-fallback], [Use the built-in CA store of the SSL library])
|
||||||
AS_HELP_STRING([--without-ca-fallback], [Don't use the built in CA store of the SSL library]),
|
AS_HELP_STRING([--without-ca-fallback], [Don't use the built-in CA store of the SSL library]),
|
||||||
[
|
[
|
||||||
if test "x$with_ca_fallback" != "xyes" -a "x$with_ca_fallback" != "xno"; then
|
if test "x$with_ca_fallback" != "xyes" -a "x$with_ca_fallback" != "xno"; then
|
||||||
AC_MSG_ERROR([--with-ca-fallback only allows yes or no as parameter])
|
AC_MSG_ERROR([--with-ca-fallback only allows yes or no as parameter])
|
||||||
@ -1353,7 +1353,7 @@ AS_HELP_STRING([--without-ca-fallback], [Don't use the built in CA store of the
|
|||||||
if test "x$OPENSSL_ENABLED" != "x1" -a "x$GNUTLS_ENABLED" != "x1"; then
|
if test "x$OPENSSL_ENABLED" != "x1" -a "x$GNUTLS_ENABLED" != "x1"; then
|
||||||
AC_MSG_ERROR([--with-ca-fallback only works with OpenSSL or GnuTLS])
|
AC_MSG_ERROR([--with-ca-fallback only works with OpenSSL or GnuTLS])
|
||||||
fi
|
fi
|
||||||
AC_DEFINE_UNQUOTED(CURL_CA_FALLBACK, 1, [define "1" to use built in CA store of SSL library ])
|
AC_DEFINE_UNQUOTED(CURL_CA_FALLBACK, 1, [define "1" to use built-in CA store of SSL library ])
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|||||||
@ -31,7 +31,7 @@
|
|||||||
* changed.
|
* changed.
|
||||||
*
|
*
|
||||||
* In order to differentiate between platforms/compilers/architectures use
|
* In order to differentiate between platforms/compilers/architectures use
|
||||||
* only compiler built in predefined preprocessor symbols.
|
* only compiler built-in predefined preprocessor symbols.
|
||||||
*
|
*
|
||||||
* curl_off_t
|
* curl_off_t
|
||||||
* ----------
|
* ----------
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user