From 86bc8e8574a21686bf7fed5c8131da013fc81a5d Mon Sep 17 00:00:00 2001 From: Hubert Kario Date: Sat, 30 May 2015 19:48:56 +0200 Subject: [PATCH] fix is_fubar key size check --- analyze.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyze.py b/analyze.py index 2cd9578..8e02546 100755 --- a/analyze.py +++ b/analyze.py @@ -53,7 +53,7 @@ def is_fubar(results): has_ssl2 = True logging.debug('SSLv2 is in the list of fubar protocols') fubar = True - if conn['pubkey'] < 2048: + if int(conn['pubkey'][0]) < 2048: has_wrong_pubkey = True logging.debug(conn['pubkey'] + ' is a fubar pubkey size') fubar = True