[XS] Change in pysim[master]: pySim.commands: use _checksw during get_data() method
laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/38047?usp=email ) Change subject: pySim.commands: use _checksw during get_data() method ...................................................................... pySim.commands: use _checksw during get_data() method All other methods use send_apdu_checksw, just get_data() was missing the _checksw part. Change-Id: Ic784bf0c30b22e5e83843aa6694e2706b4b2ac48 --- M pySim/commands.py 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/47/38047/1 diff --git a/pySim/commands.py b/pySim/commands.py index f13e18b..f9b9b9b 100644 --- a/pySim/commands.py +++ b/pySim/commands.py @@ -795,7 +795,7 @@ return (data, sw) def get_data(self, tag: int, cla: int = 0x00): - data, sw = self.send_apdu('%02xca%04x00' % (cla, tag)) + data, sw = self.send_apdu_checksw('%02xca%04x00' % (cla, tag)) return (data, sw) # TS 31.102 Section 7.5.2 -- To view, visit https://gerrit.osmocom.org/c/pysim/+/38047?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: Ic784bf0c30b22e5e83843aa6694e2706b4b2ac48 Gerrit-Change-Number: 38047 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <laforge@osmocom.org>
participants (1)
-
laforge