2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-09-28 23:53:41 +02: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 fi
OPENSSLBIN="$(dirname $0)/openssl" OPENSSLBIN="$(dirname $0)/openssl"
if [ -z "$CACERTS" ]; then 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 if [ -e "$f" ]; then
CACERTS="$f" CACERTS="$f"
break break