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 6f9f7ff..b27cbb8 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