2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-11-16 20:03:41 +01:00

Added a common location for the cert bundle on FreeBSD

This commit is contained in:
Olivier Paroz 2014-09-21 16:19:23 +02:00
parent ad88f047e6
commit c92c1f70ce

View File

@ -19,7 +19,7 @@ if [ "${OS}" = "FreeBSD" ]; then
fi
OPENSSLBIN="$(dirname $0)/openssl"
if [ -z "$CACERTS" ]; then
for f in /etc/pki/tls/certs/ca-bundle.crt /etc/ssl/certs/ca-certificates.crt; do
for f in /etc/pki/tls/certs/ca-bundle.crt /etc/ssl/certs/ca-certificates.crt /usr/local/share/certs/ca-root-nss.crt; do
if [ -e "$f" ]; then
CACERTS="$f"
break