From ebb99a53d28d3070d8aaf7be0a757b58b89615ec Mon Sep 17 00:00:00 2001 From: David Cooper Date: Fri, 20 Oct 2017 09:09:52 -0400 Subject: [PATCH] Fix #871 This PR fixes the bug identified in issue #871. --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index be48b5e..a0ff353 100755 --- a/testssl.sh +++ b/testssl.sh @@ -6374,7 +6374,7 @@ certificate_info() { # See issue #733. if [[ -z "$sni_used" ]]; then trustfinding_nosni="" - elif ( [[ $trust_sni -eq $trust_sni ]] && [[ "$has_dns_sans" == "$has_dns_sans_nosni" ]] ) || \ + elif ( [[ $trust_sni -eq $trust_nosni ]] && [[ "$has_dns_sans" == "$has_dns_sans_nosni" ]] ) || \ ( [[ $trust_sni -eq 0 ]] && [[ $trust_nosni -eq 0 ]] ); then trustfinding_nosni=" (same w/o SNI)" elif [[ $trust_nosni -eq 0 ]]; then