From: Andy Polyakov Date: Fri, 29 Dec 2006 10:53:09 +0000 (+0000) Subject: Allow opensslwrap.sh to access engines from build tree. X-Git-Tag: OpenSSL_0_9_8k^2~1008 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8d9f136d064294fb05152cc88a1e5f1d0f93fbe3;p=oweals%2Fopenssl.git Allow opensslwrap.sh to access engines from build tree. --- 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