diff options
author | Harald Welte <laforge@osmocom.org> | 2020-07-30 22:09:55 +0200 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2020-07-30 22:12:30 +0200 |
commit | c6fde3f751214c3ef3fb4eda17bae99cb266c0ed (patch) | |
tree | cc631909897b0ab43e7675bdaedca8b88ad2f570 /ccid | |
parent | c6136cd4e401908079d982dc58c74630e545124a (diff) |
CCID_Tests: Ensure the response to "SELET MF" is two bytes (SW) long
we used to accept arbitrary length responses, which made us fail to
catch the bug described in OS#4684
Change-Id: I35721ce55b58a2f70ea30a0d1bd16d2ac58dfcab
Related: OS#4684
Diffstat (limited to 'ccid')
-rw-r--r-- | ccid/CCID_Tests.ttcn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ccid/CCID_Tests.ttcn b/ccid/CCID_Tests.ttcn index c620b0be..22560250 100644 --- a/ccid/CCID_Tests.ttcn +++ b/ccid/CCID_Tests.ttcn @@ -379,7 +379,7 @@ private function f_TC_select_mf() runs on Slot_CT f_ccid_power_on(); f_ccid_set_par(ts_ProtoDataT0(ISO7816_FI_512_5MHz, ISO7816_DI_32)); for (i := 0; i < 1000; i := i+1) { - f_ccid_xfr(c_UICC_SELECT_MF, ?); + f_ccid_xfr(c_UICC_SELECT_MF, '??'O); } } testcase TC_select_mf() runs on Test_CT |