From d1a8604a2a32e3d4c88d7318eac486c8be04b506 Mon Sep 17 00:00:00 2001 From: Vincent Riquer Date: Sat, 10 Jan 2015 03:51:26 +0100 Subject: [PATCH] fix silent TypeError on sigalg md5WithRSAEncryption conn['sigalg'] is an array, logging.debug(conn['sigalg']) caused silent failure --- analyze.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyze.py b/analyze.py index fa00d89..6376c3a 100755 --- a/analyze.py +++ b/analyze.py @@ -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