Fix wrapped RAPDU always returns 0x9000.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2024-01-02 19:57:22 +01:00
parent bbc06efe67
commit 8476316e21
No known key found for this signature in database
GPG key ID: C0095B7870A4CCD3

View file

@ -201,6 +201,7 @@ int sm_wrap() {
if (apdu.ne > 0) {
apdu.ne = res_APDU_size;
}
set_res_sw(0x90, 0x00);
return CCID_OK;
}