mirror of https://gerrit.osmocom.org/simtrace2
apdu_split.py: Recover from failure in parsing on 0xa0
This commit is contained in:
parent
be235275fa
commit
40670422c8
|
@ -108,7 +108,9 @@ class Apdu_splitter:
|
|||
INS_data_expected = [0xC0, 0xB0]
|
||||
|
||||
def split(self, c):
|
||||
print("state: ", self.state, c)
|
||||
if c == 0xA0:
|
||||
self.state = apdu_states.APDU_S_CLA
|
||||
# print("state: ", self.state, c)
|
||||
self.Apdu_S[self.state](self, c)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue