Skip to content
Snippets Groups Projects
Commit 33c26acc authored by Robin Stecher's avatar Robin Stecher
Browse files

Corrected transparancy note

parent 09fd1199
Branches
No related tags found
1 merge request!1Dev
...@@ -15,8 +15,8 @@ def check_for_ssl(url: str, check_for_correct_name=False) -> bool: ...@@ -15,8 +15,8 @@ def check_for_ssl(url: str, check_for_correct_name=False) -> bool:
""" """
# Transparency note # Transparency note
# Some parts of this method are inspired by the following Stackoverflow answer by # Some parts of this method are inspired by the following Stackoverflow answer by
# Brandon Rhodes (15th October 2010) # Ricardo Altamirano (16th July 2012)
# https://stackoverflow.com/questions/1087227/validate-ssl-certificates-with-python # https://stackoverflow.com/questions/9099349/is-there-an-easy-way-to-check-if-a-website-has-an-ssl-certificate
hostname = decode_url_to_hostname(url) # addr info needs hostname hostname = decode_url_to_hostname(url) # addr info needs hostname
port: int = 443 port: int = 443
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment