Skip to content

Commit b61bbfa

Browse files
committed
Fix rfc4210.PKIHeader.explicitTag tagging
1 parent 5032fad commit b61bbfa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pyasn1_modules/rfc4210.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -743,11 +743,11 @@ class PKIHeader(univ.Sequence):
743743
namedtype.OptionalNamedType('generalInfo',
744744
univ.SequenceOf(
745745
componentType=InfoTypeAndValue().subtype(
746-
sizeSpec=constraint.ValueSizeConstraint(1, MAX),
747-
explicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 8)
746+
sizeSpec=constraint.ValueSizeConstraint(1, MAX)
748747
)
749-
)
750-
)
748+
).subtype(
749+
explicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 8))
750+
)
751751
)
752752

753753

0 commit comments

Comments
 (0)