aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-05-22 23:49:45 -0400
committerJack Lloyd <[email protected]>2018-05-22 23:50:16 -0400
commit2b19386ae79141377f0b3026a5705884da397b92 (patch)
tree576c146f71a497d11fd380afa549c874f25a0ec1 /src/scripts
parentf87b9e4128698951c10e47dca01811a677577ca0 (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-xsrc/scripts/oids.py2
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_\.\(\), -]*$")