AV-98-fork

A fork of https://tildegit.org/solderpunk/AV-98
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit a3fd543aa65aec3c47bad8ca00a83bb9c1430044
parent 16cf9fecb6e141e3988ad62d4fc7311aca1abfbb
Author: Solderpunk <solderpunk@sdf.org>
Date:   Sat, 23 May 2020 17:20:26 +0200

Correctly test individual names, not Common Name over and over.

Diffstat:
Mav98.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/av98.py b/av98.py @@ -697,7 +697,7 @@ Slow internet connection? Use 'set timeout' to be more patient.""") names = set(names) for name in names: try: - ssl._dnsname_match(common_name, host) + ssl._dnsname_match(name, host) break except CertificateError: continue