From: Viktor Szakats Date: Sat, 30 Sep 2023 10:55:15 +0000 (+0000) Subject: autotools: adjust `CURL_CA_PATH` value to CMake X-Git-Tag: curl-8_4_0~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8f6c3ca420ee684e6b5767889ed0f8457febf47;p=thirdparty%2Fcurl.git autotools: adjust `CURL_CA_PATH` value to CMake autotools was using the same value as CMake, but with an ending slash. Delete the ending slash to match configurations. Ref: #11964 (effort to sync cmake detections with autotools) Closes #11997 --- diff --git a/acinclude.m4 b/acinclude.m4 index f7d384c58b..494dd435e4 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1448,7 +1448,7 @@ dnl /etc/pki/tls/certs/ca-bundle.crt Redhat and Mandriva dnl /usr/share/ssl/certs/ca-bundle.crt old(er) Redhat dnl /usr/local/share/certs/ca-root-nss.crt MidnightBSD dnl /etc/ssl/cert.pem OpenBSD, MidnightBSD (symlink) -dnl /etc/ssl/certs/ (CA path) SUSE, FreeBSD +dnl /etc/ssl/certs (CA path) SUSE, FreeBSD AC_DEFUN([CURL_CHECK_CA_BUNDLE], [ @@ -1539,7 +1539,7 @@ AS_HELP_STRING([--without-ca-path], [Don't use a default CA path]), "x$GNUTLS_ENABLED" = "x1" -o \ "x$MBEDTLS_ENABLED" = "x1" -o \ "x$WOLFSSL_ENABLED" = "x1"; then - check_capath="/etc/ssl/certs/" + check_capath="/etc/ssl/certs" fi fi else