only update OPENSSL_ENGINE_ID if already set

This commit is contained in:
JacobBarthelmeh 2021-04-12 01:47:01 -06:00
parent ee22d27cf8
commit d44549fd77
1 changed files with 1 additions and 1 deletions

View File

@ -152,8 +152,8 @@ start_openssl_server() {
exit 1
fi
fi
OPENSSL_ENGINE_ID="-engine ${OPENSSL_ENGINE_ID}"
fi
OPENSSL_ENGINE_ID="-engine ${OPENSSL_ENGINE_ID}"
while [ "$counter" -lt 20 ]; do
echo -e "\n# Trying to start $openssl_suite OpenSSL server on port $server_port..."