You have to make specification of sequence::
class Extension(Sequence):
- __slots__ = ()
schema = (
("extnID", ObjectIdentifier()),
("critical", Boolean(default=False)),
v = v_tail
if spec.default is not None and value == spec.default:
# Encoded default values are not valid in DER,
- # but we still allow that
+ # but we allow that anyway
continue
values[name] = value
if len(v) > 0: