fix is_fubar key size check

This commit is contained in:
Hubert Kario 2015-05-30 19:48:56 +02:00
parent a53a91695e
commit 86bc8e8574
1 changed files with 1 additions and 1 deletions

View File

@ -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