* cardglue.c (pin_cb): Detect whether an admin or regular PIN is
authorWerner Koch <wk@gnupg.org>
Wed, 8 Oct 2003 15:21:20 +0000 (15:21 +0000)
committerWerner Koch <wk@gnupg.org>
Wed, 8 Oct 2003 15:21:20 +0000 (15:21 +0000)
commit72c648c0352cff27ac91e4e02f47e510711b7442
treef0025e23ed0cc6558e6f310219d8b98baeb5b09c
parentfcbd46e0708586cf4412384f27189ab0241da03a
* cardglue.c (pin_cb): Detect whether an admin or regular PIN is
requested.
(genkey_status_cb): New.
(agent_scd_genkey): Implemented.

* keygen.c (generate_keypair): New arg CARD_SERIALNO and prepare
parameters for on card key generation. Changed all callers.
(do_generate_keypair): Add new arg card and merged casrd specific
changes from 1.9.
(proc_parameter_file): New arg card, apss it down to
do_generate_keypair and changed all callers.
(gen_card_key): New.

* g10.c: Include cardclue.h.
(main): s/app_set_default_reader_port/card_set_reader_port/.
* cardglue.c (card_set_reader_port): New to address include file
issues.
g10/ChangeLog
g10/Makefile.am
g10/app-openpgp.c
g10/card-util.c
g10/cardglue.c
g10/cardglue.h
g10/g10.c
g10/gpgv.c
g10/keygen.c
g10/main.h
g10/sign.c