mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-22 06:13:42 +01:00
Merge pull request #68 from kenoh/master
Fix: incorrect list + string concatenation (issue #64)
This commit is contained in:
commit
3770389b5c
@ -60,7 +60,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