diff options
Diffstat (limited to 'scripts/codegen/get_mozilla_ciphers.py')
-rwxr-xr-x | scripts/codegen/get_mozilla_ciphers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/codegen/get_mozilla_ciphers.py b/scripts/codegen/get_mozilla_ciphers.py index ff01dd8719..65ef1aca2f 100755 --- a/scripts/codegen/get_mozilla_ciphers.py +++ b/scripts/codegen/get_mozilla_ciphers.py @@ -144,7 +144,7 @@ sslProto = open(ff('security/nss/lib/ssl/sslproto.h'), 'r') sslProtoD = {} for line in sslProto: - m = re.match('#define\s+(\S+)\s+(\S+)', line) + m = re.match(r'#define\s+(\S+)\s+(\S+)', line) if m: key, value = m.groups() sslProtoD[key] = value @@ -165,7 +165,7 @@ for fl in oSSLinclude: continue fp = open(fname, 'r') for line in fp.readlines(): - m = re.match('# *define\s+(\S+)\s+(\S+)', line) + m = re.match(r'# *define\s+(\S+)\s+(\S+)', line) if m: value,key = m.groups() if key.startswith('0x') and "_CK_" in value: |