aboutsummaryrefslogtreecommitdiff
path: root/pyasn1_modules/rfc5940.py
diff options
context:
space:
mode:
authorRuss Housley <housley@vigilsec.com>2019-09-08 09:41:53 -0400
committerIlya Etingof <etingof@gmail.com>2019-09-08 15:41:53 +0200
commit15bc77911a8394c1814456947d6f0ddd85b0e82e (patch)
tree481de5d756f2bc259fec367fbca62f0a47bdebb8 /pyasn1_modules/rfc5940.py
parent674015081b7a2d157a832f1ba6a0f7400b859dc4 (diff)
downloadpyasn1-modules-15bc77911a8394c1814456947d6f0ddd85b0e82e.tar.gz
Add support for RFC 3894 and openTypes map cleanup (#62)
Diffstat (limited to 'pyasn1_modules/rfc5940.py')
-rw-r--r--pyasn1_modules/rfc5940.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/pyasn1_modules/rfc5940.py b/pyasn1_modules/rfc5940.py
index c5ae0c8..e105923 100644
--- a/pyasn1_modules/rfc5940.py
+++ b/pyasn1_modules/rfc5940.py
@@ -42,15 +42,18 @@ class SCVPReqRes(univ.Sequence):
pass
SCVPReqRes.componentType = namedtype.NamedTypes(
- namedtype.OptionalNamedType('request', ContentInfo().subtype(explicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 0))),
+ namedtype.OptionalNamedType('request',
+ ContentInfo().subtype(explicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 0))),
namedtype.NamedType('response', ContentInfo())
)
# Map of Revocation Info Format OIDs to Revocation Info Format
-# To be added to the ones that are in rfc5652.py
+# is added to the ones that are in rfc5652.py
-otherRevInfoFormatMapUpdate = {
+_otherRevInfoFormatMapUpdate = {
id_ri_ocsp_response: OCSPResponse(),
id_ri_scvp: SCVPReqRes(),
}
+
+rfc5652.otherRevInfoFormatMap.update(_otherRevInfoFormatMapUpdate)