opensslwrap.sh to respect $OPENSSL_ENGINES.
authorAndy Polyakov <appro@openssl.org>
Fri, 29 Dec 2006 15:00:36 +0000 (15:00 +0000)
committerAndy Polyakov <appro@openssl.org>
Fri, 29 Dec 2006 15:00:36 +0000 (15:00 +0000)
util/opensslwrap.sh

index 6f9f7ff5948db4bd0f6955d482408c0a530d399a..b27cbb897fd49ff1bab0e71c89321c5ff2ca51d7 100755 (executable)
@@ -3,7 +3,7 @@
 HERE="`echo $0 | sed -e 's|[^/]*$||'`"
 OPENSSL="${HERE}../apps/openssl"
 
-if [ -d "${HERE}../engines" ]; then
+if [ -d "${HERE}../engines" -a "x$OPENSSL_ENGINES" = "x" ]; then
        OPENSSL_ENGINES="${HERE}../engines"; export OPENSSL_ENGINES
 fi