2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-11-22 06:13:42 +01:00

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

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