X-Git-Url: http://www.git.cypherpunks.ru/?p=pyderasn.git;a=blobdiff_plain;f=pyderasn.py;h=32ce73c664a72155d64844ac42ef434a7ce1a709;hp=8e7f0283503e0272f19a28e2f17805ad212299fa;hb=0299eebb6510dfd46f0c4f613b76f56cb66785aa;hpb=fa45509b038326f83ca441d0ad294acfef33f1eb diff --git a/pyderasn.py b/pyderasn.py index 8e7f028..32ce73c 100755 --- a/pyderasn.py +++ b/pyderasn.py @@ -807,7 +807,7 @@ class Obj(object): obj, tail = self._decode( v, offset=offset + tlen + llen, - decode_path=(), + decode_path=decode_path, ) return obj, (tail if leavemm else tail.tobytes()) @@ -3619,7 +3619,7 @@ class Sequence(Obj): 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: