aboutsummaryrefslogtreecommitdiff
path: root/pyasn1_modules/rfc4073.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/rfc4073.py
parent674015081b7a2d157a832f1ba6a0f7400b859dc4 (diff)
downloadpyasn1-modules-15bc77911a8394c1814456947d6f0ddd85b0e82e.tar.gz
Add support for RFC 3894 and openTypes map cleanup (#62)
Diffstat (limited to 'pyasn1_modules/rfc4073.py')
-rw-r--r--pyasn1_modules/rfc4073.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/pyasn1_modules/rfc4073.py b/pyasn1_modules/rfc4073.py
index 12a9ec0..3f425b2 100644
--- a/pyasn1_modules/rfc4073.py
+++ b/pyasn1_modules/rfc4073.py
@@ -48,10 +48,12 @@ ContentWithAttributes.componentType = namedtype.NamedTypes(
)
-# Map of Content Type OIDs to Content Types
-# To be added to the ones that are in rfc5652.py
+# Map of Content Type OIDs to Content Types is added to the
+# ones that are in rfc5652.py
-cmsContentTypesMapUpdate = {
+_cmsContentTypesMapUpdate = {
id_ct_contentCollection: ContentCollection(),
id_ct_contentWithAttrs: ContentWithAttributes(),
-} \ No newline at end of file
+}
+
+rfc5652.cmsContentTypesMap.update(_cmsContentTypesMapUpdate)