fix silent TypeError on sigalg md5WithRSAEncryption

conn['sigalg'] is an array, logging.debug(conn['sigalg']) caused silent failure
This commit is contained in:
Vincent Riquer 2015-01-10 03:51:26 +01:00
parent a90fc8bc58
commit d1a8604a2a
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