This commit is contained in:
Dirk 2017-02-08 08:58:28 +01:00
parent 0b7e9b18b8
commit 0200100750
1 changed files with 1 additions and 1 deletions

View File

@ -10771,7 +10771,7 @@ find_openssl_binary() {
outln " Looking some place else ..."
elif [[ -x "$OPENSSL" ]]; then
: # 1. all ok supplied $OPENSSL was found and has excutable bit set -- testrun comes below
elif [ -e "/mnt/c/Windows/System32/bash.exe" ] && test_openssl_suffix "$(dirname "$(which openssl)")"; then
elif [[ -e "/mnt/c/Windows/System32/bash.exe" ]] && test_openssl_suffix "$(dirname "$(which openssl)")"; then
: # 2. otherwise, only if on Bash on Windows, use system binaries only.
elif test_openssl_suffix $RUN_DIR; then
: # 3. otherwise try openssl in path of testssl.sh