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
1 changed files with 1 additions and 1 deletions

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