From 6c39ae2c7bb210efd909333ae5eb5c413246bd77 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 28 Jan 2021 23:09:17 +0100 Subject: [PATCH] use local openssl.cnf if it exists --- ctl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ctl b/ctl index 74d9d76..a463df1 100755 --- a/ctl +++ b/ctl @@ -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