Fix wrapped RAPDU always returns 0x9000.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
bbc06efe67
commit
8476316e21
1 changed files with 1 additions and 0 deletions
|
|
@ -201,6 +201,7 @@ int sm_wrap() {
|
|||
if (apdu.ne > 0) {
|
||||
apdu.ne = res_APDU_size;
|
||||
}
|
||||
set_res_sw(0x90, 0x00);
|
||||
return CCID_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue