summaryrefslogtreecommitdiffstats
path: root/util/opensslwrap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/opensslwrap.sh')
-rwxr-xr-xutil/opensslwrap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/opensslwrap.sh b/util/opensslwrap.sh
index 6f9f7ff594..b27cbb897f 100755
--- a/util/opensslwrap.sh
+++ b/util/opensslwrap.sh
@@ -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