util/opensslwrap.sh: adjust to define OPENSSL_MODULES as well

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9379)
This commit is contained in:
Richard Levitte 2019-07-15 16:14:35 +02:00
parent 4674aaf4f2
commit d5fdb6a695

View File

@ -6,6 +6,9 @@ OPENSSL="${HERE}../apps/openssl"
if [ -d "${HERE}../engines" -a "x$OPENSSL_ENGINES" = "x" ]; then
OPENSSL_ENGINES="${HERE}../engines"; export OPENSSL_ENGINES
fi
if [ -d "${HERE}../providers" -a "x$OPENSSL_MODULES" = "x" ]; then
OPENSSL_MODULES="${HERE}../providers"; export OPENSSL_MODULES
fi
if [ -x "${OPENSSL}.exe" ]; then
# The original reason for this script existence is to work around