From 4ed1f2fc11d229a79107049f70a3d38e8a5d8bed Mon Sep 17 00:00:00 2001 From: David Cooper Date: Tue, 26 Jul 2016 11:29:25 -0400 Subject: [PATCH] Don't ignore response to old OpenSSL warning In the check for old versions of OpenSSL, the results of the call to `ignore_no_or_lame()` are ignored, and so the program continues even if the user enters `no`. --- testssl.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/testssl.sh b/testssl.sh index 5245616..10aeac6 100755 --- a/testssl.sh +++ b/testssl.sh @@ -7116,6 +7116,7 @@ check4openssl_oldfarts() { *) outln " Update openssl binaries or compile from github.com/PeterMosmans/openssl" ;; esac ignore_no_or_lame " Type \"yes\" to accept some false negatives or positives " + [[ $? -ne 0 ]] && exit -2 fi outln }