Skip to content

Commit

Permalink
port of PR 381 that fix support for subject alt name IP Address (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ousret authored Jun 18, 2023
1 parent d402aca commit 7d4d9d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/qh3/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.11.0"
__version__ = "0.11.1"
2 changes: 2 additions & 0 deletions src/qh3/tls.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,8 @@ def verify_certificate(
for name in ext.value:
if isinstance(name, x509.DNSName):
subjectAltName.append(("DNS", name.value))
elif isinstance(name, x509.IPAddress):
subjectAltName.append(("IP Address", str(name.value)))

try:
match_hostname(
Expand Down

0 comments on commit 7d4d9d5

Please sign in to comment.