]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
autotools: adjust `CURL_CA_PATH` value to CMake
authorViktor Szakats <commit@vsz.me>
Sat, 30 Sep 2023 10:55:15 +0000 (10:55 +0000)
committerViktor Szakats <commit@vsz.me>
Sat, 30 Sep 2023 15:17:21 +0000 (15:17 +0000)
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

acinclude.m4

index f7d384c58b309e78420a4abf59db8efcc74f3e3e..494dd435e4e439249a83353b1f062a14a20534fc 100644 (file)
@@ -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