Skip to content

Commit

Permalink
fix is_fubar key size check
Browse files Browse the repository at this point in the history
  • Loading branch information
tomato42 committed May 30, 2015
1 parent a53a916 commit 86bc8e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyze.py
Expand Up @@ -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
Expand Down

0 comments on commit 86bc8e8

Please sign in to comment.