From 0200100750032dcc9c7eede87369d2414f07301a Mon Sep 17 00:00:00 2001 From: Dirk Date: Wed, 8 Feb 2017 08:58:28 +0100 Subject: [PATCH] see #620 --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index 886ca4f..1d0b9ef 100755 --- a/testssl.sh +++ b/testssl.sh @@ -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