X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=util%2Fopensslwrap.sh;h=b27cbb897fd49ff1bab0e71c89321c5ff2ca51d7;hp=91d29e2b870a201a0ff00e43e57afc1c2c61a02a;hb=84917787b5a3df5b9077a9b8bca38f7ed65dd7b5;hpb=62d27939c2f103654b52a83b17febe968a67ec73 diff --git a/util/opensslwrap.sh b/util/opensslwrap.sh index 91d29e2b87..b27cbb897f 100755 --- a/util/opensslwrap.sh +++ b/util/opensslwrap.sh @@ -3,6 +3,10 @@ HERE="`echo $0 | sed -e 's|[^/]*$||'`" OPENSSL="${HERE}../apps/openssl" +if [ -d "${HERE}../engines" -a "x$OPENSSL_ENGINES" = "x" ]; then + OPENSSL_ENGINES="${HERE}../engines"; export OPENSSL_ENGINES +fi + if [ -x "${OPENSSL}.exe" ]; then # The original reason for this script existence is to work around # certain caveats in run-time linker behaviour. On Windows platforms