Merge pull request #872 from dcooper16/fix_871

Fix #871
This commit is contained in:
Dirk Wetter 2017-10-20 15:42:16 +02:00 committed by GitHub
commit d83f310baf
1 changed files with 1 additions and 1 deletions

View File

@ -6374,7 +6374,7 @@ certificate_info() {
# See issue #733. # See issue #733.
if [[ -z "$sni_used" ]]; then if [[ -z "$sni_used" ]]; then
trustfinding_nosni="" 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 ( [[ $trust_sni -eq 0 ]] && [[ $trust_nosni -eq 0 ]] ); then
trustfinding_nosni=" (same w/o SNI)" trustfinding_nosni=" (same w/o SNI)"
elif [[ $trust_nosni -eq 0 ]]; then elif [[ $trust_nosni -eq 0 ]]; then