mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
scd: Factor common PIN status check out.
* scd/iso7816.h (ISO7816_VERIFY_ERROR): New. (ISO7816_VERIFY_NO_PIN): New. (ISO7816_VERIFY_BLOCKED): New. (ISO7816_VERIFY_NULLPIN): New. (ISO7816_VERIFY_NOT_NEEDED): New. * scd/iso7816.c (iso7816_verify_status): New. * scd/app-nks.c (get_chv_status): Use new function. -- Signed-off-by: Werner Koch <wk@gnupg.org> Backported from master: - Removed the non-existant app-piv.c patches. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
471b06e91b
commit
9497d25c56
4 changed files with 49 additions and 42 deletions
|
@ -1164,7 +1164,7 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB:
|
|||
by OpenPGP cards for the stored key creation time. A '-' means no
|
||||
info available. The format is the usual ISO string are a number
|
||||
with the seconds since Epoch.
|
||||
*** MANUFACTORER <n> [<string>]
|
||||
*** MANUFACTURER <n> [<string>]
|
||||
|
||||
This status returns the Manufactorer ID as the unsigned number N.
|
||||
For OpenPGP this is weel defined; for other cards this is 0. The
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue