use local openssl.cnf if it exists

This commit is contained in:
j 2021-01-28 23:09:17 +01:00
parent 808b72316a
commit 6c39ae2c7b

4
ctl
View file

@ -74,6 +74,10 @@ PATH="$PLATFORM_ENV/bin:$PATH"
SHARED_ENV="$BASE/platform/Shared"
export SHARED_ENV
if [ -e "$SHARED_ENV/etc/openssl/openssl.cnf" ]; then
export OPENSSL_CONF="$SHARED_ENV/etc/openssl/openssl.cnf"
fi
PATH="$SHARED_ENV/bin:$PATH"
export PATH