scd: PIV: Always require a PIN for signing with 9C.
authorWerner Koch <wk@gnupg.org>
Mon, 25 Feb 2019 10:29:30 +0000 (11:29 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 25 Feb 2019 10:29:54 +0000 (11:29 +0100)
commita481d17432bf7cca19ca71b6aa5ccd9aee2b3baa
tree3bce16d5eb155be82caca2ffcec901a99c9d7193
parent28de5c0ea53373c56a4405fe6b08d194682dd1de
scd: PIV: Always require a PIN for signing with 9C.

* scd/app-piv.c (verify_chv): Add arg 'force'.
(do_sign): Use force for 0x9c.

Signed-off-by: Werner Koch <wk@gnupg.org>
scd/app-piv.c