1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-14 00:19:50 +02:00
gnupg/scd
Werner Koch 9497d25c56
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>
2020-04-15 15:35:55 +02:00
..
apdu.c scd: Distinguish cancel by user and protocol error. 2019-02-19 15:51:14 +09:00
apdu.h scd: Distinguish cancel by user and protocol error. 2019-02-19 15:51:14 +09:00
app-common.h scd:p15: Support signing with CardOS 5 cards. 2020-04-01 16:00:31 +02:00
app-dinsig.c scd:p15: Support signing with CardOS 5 cards. 2020-04-01 16:00:31 +02:00
app-geldkarte.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
app-help.c scd:p15: Support signing with CardOS 5 cards. 2020-04-01 16:00:31 +02:00
app-nks.c scd: Factor common PIN status check out. 2020-04-15 15:35:55 +02:00
app-openpgp.c scd:openpgp: New attribute "MANUFACTURER". 2020-04-15 15:16:05 +02:00
app-p15.c scd:p15: Fix decrypt followed by sign problem for D-Trust cards. 2020-04-15 15:31:56 +02:00
app-sc-hsm.c scd:p15: Support signing with CardOS 5 cards. 2020-04-01 16:00:31 +02:00
app.c scd: Don't let the "undefined" app cause a conflict error. 2019-02-25 08:50:31 +01:00
atr.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
atr.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ccid-driver.c scd,ccid: Add support of GEMPC_EZIO. 2019-11-15 15:49:46 +09:00
ccid-driver.h scd,ccid: Add support of GEMPC_EZIO. 2019-11-15 15:49:46 +09:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
command.c scd: Make app_genkey and supporting ISO function more flexible. 2019-02-11 10:59:32 +01:00
iso7816.c scd: Factor common PIN status check out. 2020-04-15 15:35:55 +02:00
iso7816.h scd: Factor common PIN status check out. 2020-04-15 15:35:55 +02:00
Makefile.am Remove -I option to common. 2017-03-07 20:25:54 +09:00
scdaemon-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
scdaemon.c build: Always use EXTERN_UNLESS_MAIN_MODULE pattern. 2020-02-10 16:37:34 +01:00
scdaemon.h build: Always use EXTERN_UNLESS_MAIN_MODULE pattern. 2020-02-10 16:37:34 +01:00