aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-03-27 17:16:48 +0000
committerlloyd <[email protected]>2013-03-27 17:16:48 +0000
commitd1cd41fe0d2869fbd5adce9e42e47fc5d6a9d2e9 (patch)
treeee059df0bad78b3a46230f0d0f79494d8b8d9a1f
parente2225f202e4ef4ecafc47922836f3d2c50fcc296 (diff)
Rename script and add header
-rwxr-xr-xsrc/build-data/scripts/tls_suite_info.py (renamed from src/build-data/scripts/parse_tls_params.py)14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/build-data/scripts/parse_tls_params.py b/src/build-data/scripts/tls_suite_info.py
index fc5f2da13..386e4c906 100755
--- a/src/build-data/scripts/parse_tls_params.py
+++ b/src/build-data/scripts/tls_suite_info.py
@@ -1,6 +1,15 @@
#!/usr/bin/python
-# Used to generate src/tls/tls_suite_info.cpp
+"""
+Used to generate src/tls/tls_suite_info.cpp
+
+(C) 2011, 2012, 2013 Jack Lloyd
+
+Distributed under the terms of the Botan license
+
+First thing,
+ wget https://www.iana.org/assignments/tls-parameters/tls-parameters.txt
+"""
import sys, re
@@ -100,9 +109,6 @@ def main(args = None):
not_supported = weak_crypto + weird_crypto + static_dh + protocol_goop + just_not_yet
- print not_supported
-
- # http://www.iana.org/assignments/tls-parameters/tls-parameters.txt
input = open('tls-parameters.txt')
ciphersuite_re = re.compile(' +0x([0-9a-fA-F][0-9a-fA-F]),0x([0-9a-fA-F][0-9a-fA-F]) + TLS_([A-Za-z_0-9]+) ')