aboutsummaryrefslogtreecommitdiffstats
path: root/g10/server.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2013-01-08 06:22:31 +0000
committerNIIBE Yutaka <[email protected]>2013-01-08 06:22:31 +0000
commita776f660363d20b6cc023609c4547e0aa8825d97 (patch)
tree66c4827676c00f5beb435906e6d266cc87a60478 /g10/server.c
parentUpdate Japanese Translation. (diff)
downloadgnupg-a776f660363d20b6cc023609c4547e0aa8825d97.tar.gz
gnupg-a776f660363d20b6cc023609c4547e0aa8825d97.zip
SCD: Support not-so-smart card readers.
* scd/ccid-driver.c (struct ccid_driver_s): Add auto_voltage, auto_param, and auto_pps. (parse_ccid_descriptor): Set auto_voltage, auto_param, and auto_pps. Support non-autoconf readers. (update_param_by_atr): New. (ccid_get_atr): Use 5V for PowerOn when auto_voltage is not supported. Use 0x10 when nonnull_nad for SetParameters. Call update_param_by_atr for parsing ATR, and use param for SetParameters. Send PPS if reader requires it and card is negotiable. When bNadValue in the return values of SetParameters == 0, clear handle->nonnull_nad flag. -- This change is to support more card readers by the internal driver. Tested with 08e6:3478 Gemplus PinPad Smart Card Reader.
Diffstat (limited to 'g10/server.c')
0 files changed, 0 insertions, 0 deletions