summaryrefslogtreecommitdiffstats
path: root/kbx/backend-sqlite.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2020-09-25 04:24:39 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2020-09-25 04:24:39 +0200
commit93e3c97889120dd17d79b7c8dd04293553785c9b (patch)
tree3df1e86b7e82d7ed244e2421aecb2be248bad29c /kbx/backend-sqlite.c
parentscd: For SPR532, submit the ESCape command at initialization. (diff)
downloadgnupg2-93e3c97889120dd17d79b7c8dd04293553785c9b.tar.xz
gnupg2-93e3c97889120dd17d79b7c8dd04293553785c9b.zip
scd: For PC/SC, send the ESC command at init for SPR532 reader.
* scd/apdu.c (struct reader_table_s): Remove is_spr532. (pcsc_vendor_specific_init): Send the ESC command for SPR532. (pcsc_pinpad_verify, pcsc_pinpad_modify): Remove no_lc hack. -- The "no_lc" hack lets PC/SC-lite send the ESC command for SPR532 internally, for pcsc_pinpad_verify. However, PC/SC-lite doesn't do that for pcsc_pinpad_modify, unfortunately. Besides, I'm not sure this hack works on Windows, which has different implementation of PC/SC service. It's better to send the ESC command by the driver explicitly, at the initialization. Sending the ESC command results PCSC_E_NOT_TRANSACTED error when a card is not active (that is the case, usually). We ignore this error. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'kbx/backend-sqlite.c')
0 files changed, 0 insertions, 0 deletions