diff options
author | Jack Lloyd <[email protected]> | 2019-05-25 16:43:43 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-05-25 16:43:43 -0400 |
commit | 0dd03c973f6c9ae6a38118385c82e64154e465f3 (patch) | |
tree | deeac293416284dc167a6f64c9ef244208416a76 /src/scripts/tls_suite_info.py | |
parent | 7de87541af346350c2305f38241b8549c9a63b9d (diff) | |
parent | c483a24e81bb222c0de44b1b35fcc724958815da (diff) |
Merge GH #1978 TLS refactorings
Diffstat (limited to 'src/scripts/tls_suite_info.py')
-rwxr-xr-x | src/scripts/tls_suite_info.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/scripts/tls_suite_info.py b/src/scripts/tls_suite_info.py index 124a583e1..e19c24186 100755 --- a/src/scripts/tls_suite_info.py +++ b/src/scripts/tls_suite_info.py @@ -200,10 +200,10 @@ def main(args = None): if args is None: args = sys.argv - weak_crypto = ['EXPORT', 'RC2', 'IDEA', 'RC4', '_DES_', 'WITH_NULL'] + weak_crypto = ['EXPORT', 'RC2', 'IDEA', 'RC4', '_DES_', 'WITH_NULL', 'GOST'] static_dh = ['ECDH_ECDSA', 'ECDH_RSA', 'DH_DSS', 'DH_RSA'] # not supported protocol_goop = ['SCSV', 'KRB5'] - maybe_someday = ['RSA_PSK'] + maybe_someday = ['RSA_PSK', 'ECCPWD'] not_supported = weak_crypto + static_dh + protocol_goop + maybe_someday (options, args) = process_command_line(args) @@ -230,7 +230,7 @@ def main(args = None): if ns in name: should_use = False - if should_use: + if should_use and name.find('_WITH_') > 0: suites[code] = to_ciphersuite_info(code, name) sha1 = hashlib.sha1() @@ -320,11 +320,11 @@ const std::vector<Ciphersuite>& Ciphersuite::all_known_ciphersuites() for code in sorted(suites.keys()): info = suites[code] assert len(info) == 10 + suite_expr = 'Ciphersuite(0x%s, "%s", Auth_Method::%s, Kex_Algo::%s, "%s", %d, "%s", %d, KDF_Algo::%s, Nonce_Format::%s)' % ( code, info[0], info[2], info[3], info[4], info[5], info[6], info[7], info[8].replace('-','_'), info[9]) suite_info += " " + suite_expr + ",\n" - suite_info += """ }; |