From e27b03dff88b53a5b46631fa79e7d2b6ef33c2b2 Mon Sep 17 00:00:00 2001 From: Dirk Date: Fri, 15 Feb 2019 10:09:31 +0100 Subject: [PATCH] Clarify error message ... when no certificate was detected. Shouldn't be needed anymore since @dcooper16's fix 8488b84 but for robustness it might be good to leave it. --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index 7a62f4f..adfb37c 100755 --- a/testssl.sh +++ b/testssl.sh @@ -8931,7 +8931,7 @@ run_server_defaults() { fi elif [[ $certs_found -eq 0 ]] && [[ -s "$HOSTCERT" ]]; then outln - generic_nonfatal "Problem: Host certificate found but we can't continue with \"server defaults\"" + generic_nonfatal "Client problem, shouldn't happen: Host certificate found but we can't continue with \"server defaults\"" fi [[ $DEBUG -ge 1 ]] && [[ -e $HOSTCERT.nosni ]] && $OPENSSL x509 -in $HOSTCERT.nosni -text -noout 2>>$ERRFILE > $HOSTCERT.nosni.txt