recognise HEARTBEATS in mkdef.pl script
[openssl.git] / util / opensslwrap.sh
index 91d29e2b870a201a0ff00e43e57afc1c2c61a02a..b27cbb897fd49ff1bab0e71c89321c5ff2ca51d7 100755 (executable)
@@ -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