aboutsummaryrefslogtreecommitdiff
path: root/pyasn1_modules
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2017-09-26 22:31:29 +0200
committerIlya Etingof <etingof@gmail.com>2017-09-26 22:32:41 +0200
commit5d61d1c03da165e4b7d082ddadf8be4462801eed (patch)
tree87a213ced0d8d33651ae7eebf1993bd15339e502 /pyasn1_modules
parent46b4080b01df91ca70f3cfdb5957a232f2e4f62f (diff)
downloadpyasn1-modules-5d61d1c03da165e4b7d082ddadf8be4462801eed.tar.gz
fixed OCSP ResponderID component tagging
Diffstat (limited to 'pyasn1_modules')
-rw-r--r--pyasn1_modules/rfc2560.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyasn1_modules/rfc2560.py b/pyasn1_modules/rfc2560.py
index 25a4e62..472099e 100644
--- a/pyasn1_modules/rfc2560.py
+++ b/pyasn1_modules/rfc2560.py
@@ -124,9 +124,9 @@ class KeyHash(univ.OctetString):
class ResponderID(univ.Choice):
componentType = namedtype.NamedTypes(
namedtype.NamedType('byName',
- rfc2459.Name().subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 1))),
+ rfc2459.Name().subtype(explicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 1))),
namedtype.NamedType('byKey',
- KeyHash().subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 2)))
+ KeyHash().subtype(explicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 2)))
)