mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-04 20:38:50 +01:00
c2525d507d
* iso7816.h (iso7816_verify_kp): Remove arguments of CHV and CHVLEN. * iso7816.c (iso7816_verify_kp): Call apdu_keypad_verify. Only handle thecase with PININFO. (iso7816_verify): Call apdu_send_simple. * app-openpgp.c (verify_a_chv, verify_chv3): Follow the change of iso7816_verify_kp. * app-nks.c (verify_pin): Likewise. * app-dinsig.c (verify_pin): Likewise. * apdu.c: Include "iso7816.h". (struct reader_table_s): New memeber function keypad_verify. Add fields verify_ioctl and modify_ioctl in pcsc. (CM_IOCTL_GET_FEATURE_REQUEST, FEATURE_VERIFY_PIN_DIRECT) (FEATURE_MODIFY_PIN_DIRECT): New. (pcsc_control): New. (control_pcsc_direct, control_pcsc_wrapped, control_pcsc) (check_pcsc_keypad, pcsc_keypad_verify): New. (ccid_keypad_verify, apdu_keypad_verify): New. (new_reader_slot): Initialize with check_pcsc_keypad, pcsc_keypad_verify, verify_ioctl and modify_ioctl. (open_ct_reader): Initialize keypad_verify with NULL. (open_ccid_reader): Initialize keypad_verify. (open_rapdu_reader): Initialize keypad_verify with NULL. (apdu_open_reader): Initialize pcsc_control. * pcsc-wrapper.c (load_pcsc_driver): Initialize pcsc_control. (handle_control): New. (main): Handle the case 6 of handle_control. |
||
---|---|---|
.. | ||
apdu.c | ||
apdu.h | ||
app-common.h | ||
app-dinsig.c | ||
app-geldkarte.c | ||
app-help.c | ||
app-nks.c | ||
app-openpgp.c | ||
app-p15.c | ||
app.c | ||
atr.c | ||
atr.h | ||
card-common.h | ||
card-dinsig.c | ||
card-p15.c | ||
card.c | ||
ccid-driver.c | ||
ccid-driver.h | ||
ChangeLog-2011 | ||
command.c | ||
iso7816.c | ||
iso7816.h | ||
Makefile.am | ||
pcsc-wrapper.c | ||
sc-copykeys.c | ||
scdaemon.c | ||
scdaemon.h |