We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb641ee commit 47acef7Copy full SHA for 47acef7
src/hsm/cmd_list_keys.c
@@ -60,9 +60,11 @@ int cmd_list_keys() {
60
res_APDU[res_APDU_size++] = f->fid & 0xff;
61
}
62
63
- if ((apdu.rlen + 2 + 10) % 64 == 0) { // FIX for strange behaviour with PSCS and multiple of 64
+#if !defined(ENABLE_EMULATION)
64
+ if ((apdu.rlen + 2 + 10) % 64 == 0) { // FIX for strange behaviour with PSCS and multiple of 64
65
+ res_APDU[res_APDU_size++] = 0;
66
res_APDU[res_APDU_size++] = 0;
- res_APDU[res_APDU_size++] = 0;
67
68
+#endif
69
return SW_OK();
70
0 commit comments