summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2017-11-14 12:08:19 +0100
committerIlya Etingof <etingof@gmail.com>2017-11-14 12:08:19 +0100
commitb623b4603d149a4565c6d58e4e85fc31ff2bea2c (patch)
treef8c22e32493f1393a89a4d41ab0f8330b063fd2b
parent06f3eaf8e590358c9dca270ee19496a8e1491cdd (diff)
downloadpyasn1-git-b623b4603d149a4565c6d58e4e85fc31ff2bea2c.tar.gz
fixed openType decoding in indef mode
-rw-r--r--pyasn1/codec/ber/decoder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyasn1/codec/ber/decoder.py b/pyasn1/codec/ber/decoder.py
index 8ab98ee..588d343 100644
--- a/pyasn1/codec/ber/decoder.py
+++ b/pyasn1/codec/ber/decoder.py
@@ -720,7 +720,7 @@ class UniversalConstructedTypeDecoder(AbstractConstructedDecoder):
component, rest = decodeFun(
asn1Object.getComponentByPosition(idx).asOctets(),
- asn1Spec=asn1Spec, allowEoo=True
+ asn1Spec=openType, allowEoo=True
)
if component is not eoo.endOfOctets: