Allow opensslwrap.sh to access engines from build tree.

This commit is contained in:
Andy Polyakov 2006-12-29 10:53:09 +00:00
parent 00b4e083fd
commit 8d9f136d06

View File

@ -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