diff options
author | NIIBE Yutaka <[email protected]> | 2020-09-15 06:31:23 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2020-09-15 06:31:23 +0000 |
commit | 6e51f2044aebb885ea81dae259db1b7f477b1c44 (patch) | |
tree | 3915d462b95cebf3c5d109c775240c960389206b /common/stringhelp.c | |
parent | scd:piv: Avoid conflict when writing a cert. (diff) | |
download | gnupg-6e51f2044aebb885ea81dae259db1b7f477b1c44.tar.gz gnupg-6e51f2044aebb885ea81dae259db1b7f477b1c44.zip |
scd: Fix the use case of verify_chv2 by CHECKPIN.
* scd/app-openpgp.c (verify_chv2): Call verify_a_chv with chvno=1
when needed.
--
Confusingly, verify_chv2 has two different purposes; One for
verifying with CHV2 (in addition to CHV1), and the call by
CHECKPIN. For the latter, we should check CHV1.
Fixes-commit: af189be481df02a77e088aa0a60a1fc02dfa12bf
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'common/stringhelp.c')
0 files changed, 0 insertions, 0 deletions