2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-11-04 15:03:41 +01:00

Merge pull request #47 from ScriptFanix/master

fix silent TypeError on sigalg md5WithRSAEncryption
This commit is contained in:
Julien Vehent 2015-01-26 11:09:54 -05:00
commit 3e4b86eedd

View File

@ -62,7 +62,7 @@ def is_fubar(results):
has_wrong_pfs = True
if 'md5WithRSAEncryption' in conn['sigalg']:
has_md5_sig = True
logging.debug(conn['sigalg']+ ' is a fubar cert signature')
logging.debug(conn['sigalg'][0] + ' is a fubar cert signature')
fubar = True
if conn['trusted'] == 'False':
has_untrust_cert = True