From ad89c71b0d1ba182a6661784311a1a982e0633a1 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 23 Mar 2016 09:34:02 +0100 Subject: [PATCH] fix instantiation of UTF8String (fixes #4403) --- rfc3161/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rfc3161/types.py b/rfc3161/types.py index bbafe18..330a695 100644 --- a/rfc3161/types.py +++ b/rfc3161/types.py @@ -39,7 +39,7 @@ class TimeStampReq(univ.Sequence): # Reponse class PKIFreeText(univ.SequenceOf): - componentType = char.UTF8String + componentType = char.UTF8String() sizeSpec = univ.SequenceOf.sizeSpec + constraint.ValueSizeConstraint(1, MAX) class PKIStatus(univ.Integer):