tls alt_names fix

This commit is contained in:
Ronald van Zantvoort 2018-08-15 12:21:51 +02:00
parent d435dbc85e
commit d522d01786
No known key found for this signature in database
GPG Key ID: D3DE53B7EFF75061

View File

@ -1656,7 +1656,7 @@ def cert_info(cert, digest='sha256'):
'with {2}'.format(ret['subject'], name, '/'.join(valid_entries)))
else:
valid_names.add(name)
ret['subject_alt_names'] = valid_names
ret['subject_alt_names'] = list(valid_names)
if hasattr(cert, 'get_signature_algorithm'):
try: