diff options
author | Jack Lloyd <[email protected]> | 2018-05-22 23:49:45 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-05-22 23:50:16 -0400 |
commit | 2b19386ae79141377f0b3026a5705884da397b92 (patch) | |
tree | 576c146f71a497d11fd380afa549c874f25a0ec1 /src/scripts | |
parent | f87b9e4128698951c10e47dca01811a677577ca0 (diff) |
Add OIDS for Camellia and SM4 in GCM and CBC modes
Making them usable for private key encryption
Diffstat (limited to 'src/scripts')
-rwxr-xr-x | src/scripts/oids.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/oids.py b/src/scripts/oids.py index 8b9d8ba3e..5de224f79 100755 --- a/src/scripts/oids.py +++ b/src/scripts/oids.py @@ -262,7 +262,7 @@ def main(args = None): oid_lines = open('./src/build-data/oids.txt').readlines() - oid_re = re.compile("^([1-9][0-9.]+) = ([A-Za-z0-9_\./\(\), -]+)(?: = )?([0-9]+)?$") + oid_re = re.compile("^([0-9][0-9.]+) = ([A-Za-z0-9_\./\(\), -]+)(?: = )?([0-9]+)?$") hdr_re = re.compile("^\[([a-z0-9_]+)\]$") pad_re = re.compile("^([A-Za-z0-9_\., -]+)/([A-Za-z0-9_-]+)[A-Za-z0-9_\.\(\), -]*$") |