Enable patch only for RPI

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2024-06-21 21:15:29 +02:00
parent d1fb4d0c65
commit 223fc117dd
No known key found for this signature in database
GPG key ID: C0095B7870A4CCD3

View file

@ -60,7 +60,7 @@ int cmd_list_keys() {
res_APDU[res_APDU_size++] = f->fid & 0xff;
}
}
#if !defined(ENABLE_EMULATION)
#if !defined(ENABLE_EMULATION) && !defined(ESP_PLATFORM)
if ((apdu.rlen + 2 + 10) % 64 == 0) { // FIX for strange behaviour with PSCS and multiple of 64
res_APDU[res_APDU_size++] = 0;
res_APDU[res_APDU_size++] = 0;