From d8ebaf2d9f7cde86274d1b4982af7d8bf130327b Mon Sep 17 00:00:00 2001 From: Hubert Kario Date: Tue, 31 Mar 2015 23:58:30 +0200 Subject: [PATCH] report summary for clients for RC4 Preferred too --- top1m/parse_results.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/top1m/parse_results.py b/top1m/parse_results.py index 6eba070..6e37cf1 100644 --- a/top1m/parse_results.py +++ b/top1m/parse_results.py @@ -451,7 +451,7 @@ for r,d,flist in os.walk(path): cipherstats['x:' + client_name + ' RC4 Only'] += 1 for cipher in temp_client_incompat[client_name]: client_RC4_Only_cipherstats[client_name][cipher] += 1 - if client_RC4_Pref[client_name] and not 'RC4' in results['ciphersuite'][0]['cipher']: + if client_RC4_Pref[client_name]: cipherstats['x:' + client_name + ' RC4 Preferred'] += 1 for cipher in temp_client_incompat[client_name]: client_RC4_preferred_cipherstats[client_name][cipher] += 1 @@ -521,10 +521,6 @@ for r,d,flist in os.walk(path): effectively prefer RC4 when using given client, to make reporting more readable, sum it with sites that do that for all ciphers""" -for client_name in client_ciphers: - if 'x:' + client_name + ' RC4 Preferred' in cipherstats and 'RC4 Preferred' in cipherstats: - cipherstats['x:' + client_name + ' RC4 Preferred'] += cipherstats['RC4 Preferred'] - print("SSL/TLS survey of %i websites from Alexa's top 1 million" % total) if report_untrused == False: print("Stats only from connections that did provide valid certificates")