small bug regarding filler bytes
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@149 f711b948-2313-0410-aaa9-d29f33439f0b
This commit is contained in:
parent
98034cf1f7
commit
68b5e8673a
|
@ -196,7 +196,7 @@ class TCOS_Security_Environment(object):
|
|||
value_ = TLV_utils.pack( (data, ), recalculate_length=True )
|
||||
|
||||
block.append( value_ )
|
||||
elif tag in (0xff, 0x00):
|
||||
elif tag in (0xff, 0x00) and len(block) > 0:
|
||||
block.append( chr(tag) )
|
||||
else:
|
||||
if len(block) > 0:
|
||||
|
|
Loading…
Reference in New Issue