Home GnuPG
Diffusion GnuPG 469dc1043df7

* agent.h: Add a callback function to the pin_entry_info structure.
469dc1043df7Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

(no title)

* agent.h: Add a callback function to the pin_entry_info structure.
* query.c (agent_askpin): Use the callback to check for a correct
PIN.  Removed the start_err_text argument becuase it is not
anymore needed; changed callers.
* findkey.c (unprotect): Replace our own check loop by a callback.
(try_unprotect_cb): New.
* genkey.c (reenter_compare_cb): New.
(agent_genkey): Use this callback here.  Fixed setting of the pi2
variable and a segv in case of an empty PIN.
* divert-scd.c (getpin_cb): Removed some unused stuff and
explained what we still have to change.

Details

Provenance
wernerAuthored on Jun 17 2002, 12:11 PM
Parents
rGccb0bb10e110: * card-dinsig.c: Documented some stuff from the DIN norm.
Branches
Unknown
Tags
Unknown

Event Timeline