summaryrefslogtreecommitdiffstats
path: root/util/opensslwrap.sh
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2006-12-29 10:53:09 +0000
committerAndy Polyakov <appro@openssl.org>2006-12-29 10:53:09 +0000
commit8d9f136d064294fb05152cc88a1e5f1d0f93fbe3 (patch)
treec25b96992a7fb8d651f3848ba7bc2c7042639db2 /util/opensslwrap.sh
parent00b4e083fddd5c4bdaae342f28839e27319c5ada (diff)
Allow opensslwrap.sh to access engines from build tree.
Diffstat (limited to 'util/opensslwrap.sh')
-rwxr-xr-xutil/opensslwrap.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/opensslwrap.sh b/util/opensslwrap.sh
index 91d29e2b87..6f9f7ff594 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" ]; 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