diff options
| author | cvs2svn <admin@example.com> | 2012-07-13 17:49:56 +0000 |
|---|---|---|
| committer | cvs2svn <admin@example.com> | 2012-07-13 17:49:56 +0000 |
| commit | ee04221ea8063435416c7e6369e6eae76843aa71 (patch) | |
| tree | 821921a1dd0a5a3cece91121e121cc63c4b68128 /src/lib/libcrypto/util/opensslwrap.sh | |
| parent | adf6731f6e1d04718aee00cb93435143046aee9a (diff) | |
| download | openbsd-eric_g2k12.tar.gz openbsd-eric_g2k12.tar.bz2 openbsd-eric_g2k12.zip | |
This commit was manufactured by cvs2git to create tag 'eric_g2k12'.eric_g2k12
Diffstat (limited to '')
| -rwxr-xr-x | src/lib/libcrypto/util/opensslwrap.sh | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/lib/libcrypto/util/opensslwrap.sh b/src/lib/libcrypto/util/opensslwrap.sh deleted file mode 100755 index b27cbb897f..0000000000 --- a/src/lib/libcrypto/util/opensslwrap.sh +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | HERE="`echo $0 | sed -e 's|[^/]*$||'`" | ||
| 4 | OPENSSL="${HERE}../apps/openssl" | ||
| 5 | |||
| 6 | if [ -d "${HERE}../engines" -a "x$OPENSSL_ENGINES" = "x" ]; then | ||
| 7 | OPENSSL_ENGINES="${HERE}../engines"; export OPENSSL_ENGINES | ||
| 8 | fi | ||
| 9 | |||
| 10 | if [ -x "${OPENSSL}.exe" ]; then | ||
| 11 | # The original reason for this script existence is to work around | ||
| 12 | # certain caveats in run-time linker behaviour. On Windows platforms | ||
| 13 | # adjusting $PATH used to be sufficient, but with introduction of | ||
| 14 | # SafeDllSearchMode in XP/2003 the only way to get it right in | ||
| 15 | # *all* possible situations is to copy newly built .DLLs to apps/ | ||
| 16 | # and test/, which is now done elsewhere... The $PATH is adjusted | ||
| 17 | # for backward compatibility (and nostagical reasons:-). | ||
| 18 | if [ "$OSTYPE" != msdosdjgpp ]; then | ||
| 19 | PATH="${HERE}..:$PATH"; export PATH | ||
| 20 | fi | ||
| 21 | exec "${OPENSSL}.exe" "$@" | ||
| 22 | elif [ -x "${OPENSSL}" -a -x "${HERE}shlib_wrap.sh" ]; then | ||
| 23 | exec "${HERE}shlib_wrap.sh" "${OPENSSL}" "$@" | ||
| 24 | else | ||
| 25 | exec "${OPENSSL}" "$@" # hope for the best... | ||
| 26 | fi | ||
