fix usage of CA_BUNDLES_PATH env for local ca_bundles

This commit is contained in:
mailsvb 2016-10-08 22:50:44 +02:00
parent bd64fb4214
commit 5a967302dc
1 changed files with 1 additions and 1 deletions

View File

@ -3847,7 +3847,7 @@ determine_trust() {
if [[ -z $CA_BUNDLES_PATH ]]; then if [[ -z $CA_BUNDLES_PATH ]]; then
ca_bundles="$TESTSSL_INSTALL_DIR/etc/*.pem" ca_bundles="$TESTSSL_INSTALL_DIR/etc/*.pem"
else else
ca_bundles="${CA_BUNDLES_PATH/*.pem}" ca_bundles="$CA_BUNDLES_PATH/*.pem"
fi fi
for bundle_fname in $ca_bundles; do for bundle_fname in $ca_bundles; do
certificate_file[i]=$(basename ${bundle_fname//.pem}) certificate_file[i]=$(basename ${bundle_fname//.pem})