Merge branch '9.3.x'

This commit is contained in:
Antoine Beaupré 2017-01-31 19:21:22 -05:00
commit d51b7f34b6
2 changed files with 3 additions and 4 deletions

View file

@ -32,14 +32,14 @@ def x509_to_dict(x509):
"""Parse a x509 pyopenssl object to a dictionary with keys
subject, subjectAltName and optional notAfter.
"""
import requests.packages.urllib3.contrib.pyopenssl as SSL
from requests.packages.urllib3.contrib.pyopenssl import get_subj_alt_name
res = {
'subject': (
(('commonName', x509.get_subject().CN),),
),
'subjectAltName': [
('DNS', value)
for value in SSL.get_subj_alt_name(x509)
for value in get_subj_alt_name(x509)
]
}
notAfter = x509.get_notAfter()

View file

@ -375,8 +375,7 @@ myemail = "bastian.kleineidam@web.de"
data_files = [
('share/linkchecker',
['config/linkcheckerrc',
'doc/html/lccollection.qhc', 'doc/html/lcdoc.qch']),
['config/linkcheckerrc']),
('share/linkchecker/examples',
['cgi-bin/lconline/leer.html.en',
'cgi-bin/lconline/leer.html.de',