obj, tail = self._decode(
v,
offset=offset + tlen + llen,
- decode_path=(),
+ decode_path=decode_path,
)
return obj, (tail if leavemm else tail.tobytes())
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: