add support for archlinux

archlinux has ca certificates in different place than Fedora
This commit is contained in:
Hubert Kario 2014-04-26 22:44:52 +02:00 committed by Hubert Kario
parent 8817a7b1c8
commit a0cb766381
1 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,9 @@ DOBENCHMARK=0
BENCHMARKITER=30
OPENSSLBIN="$(dirname $0)/openssl"
CACERTS=${CACERTS:-/etc/pki/tls/certs/ca-bundle.crt}
if [ ! -e "$CACERTS" ]; then
CACERTS="/etc/ssl/certs/ca-certificates.crt"
fi
if [ ! -e "$CACERTS" ]; then
echo "Warning: CA Certificates not found at $CACERTS, export CACERTS variable with location of your trust anchors" 1>&2
fi