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
This commit is contained in:
Viktor Szakats 2023-09-30 10:55:15 +00:00
parent f85dcaa6d2
commit b8f6c3ca42
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View 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