From 5862a9031943ceecff94c7ab8610ba00b7292be2 Mon Sep 17 00:00:00 2001 From: Dirk Date: Sun, 11 Feb 2018 13:57:26 +0100 Subject: [PATCH] mind certificate_info() result from previous commit --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index 9e6dff02..a3b90b87 100755 --- a/testssl.sh +++ b/testssl.sh @@ -7482,13 +7482,13 @@ run_server_defaults() { fi fi [[ $DEBUG -ge 1 ]] && [[ -e $HOSTCERT.nosni ]] && $OPENSSL x509 -in $HOSTCERT.nosni -text -noout 2>>$ERRFILE > $HOSTCERT.nosni.txt - for (( i=1; i <= certs_found; i++ )); do echo "${previous_hostcert[i]}" > $HOSTCERT echo "${previous_intermediates[i]}" > $TEMPDIR/intermediatecerts.pem certificate_info "$i" "$certs_found" "${previous_hostcert_txt[i]}" \ "${cipher[i]}" "${keysize[i]}" "${previous_hostcert_type[i]}" \ "${ocsp_response[i]}" "${ocsp_response_status[i]}" "${sni_used[i]}" "${ct[i]}" + [[ $? -ne 0 ]] && ((ret++)) done return $ret }