apdu_split.py: Recover from failure in parsing on 0xa0

This commit is contained in:
Christina Quast
2015-05-03 12:59:44 +02:00
parent be235275fa
commit 40670422c8

View File

@@ -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)