mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-25 07:23:41 +01:00
Fix: incorrect list + string concatenation (issue #64)
This commit is contained in:
parent
db4b16e50c
commit
c9529b5977
@ -55,7 +55,7 @@ def is_fubar(results):
|
|||||||
fubar = True
|
fubar = True
|
||||||
if int(conn['pubkey'][0]) < 2048:
|
if int(conn['pubkey'][0]) < 2048:
|
||||||
has_wrong_pubkey = True
|
has_wrong_pubkey = True
|
||||||
logging.debug(conn['pubkey'] + ' is a fubar pubkey size')
|
logging.debug(conn['pubkey'][0] + ' is a fubar pubkey size')
|
||||||
fubar = True
|
fubar = True
|
||||||
if conn['pfs'] != 'None':
|
if conn['pfs'] != 'None':
|
||||||
if not has_good_pfs(conn['pfs'], 1024, 160):
|
if not has_good_pfs(conn['pfs'], 1024, 160):
|
||||||
|
Loading…
Reference in New Issue
Block a user