Home GnuPG
Diffusion GnuPG e6b3d53db36d

scd: Return GPG_ERR_PIN_BLOCKED when it's blocked.

Description

scd: Return GPG_ERR_PIN_BLOCKED when it's blocked.

* scd/app-openpgp.c (build_enter_admin_pin_prompt): Fix to use
GPG_ERR_PIN_BLOCKED.
(check_pin): Likewise.
  • GnuPG-bug-id: T6425
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Nov 8 2023, 3:39 AM
Parents
rG387ee7dcbd77: Merge branch 'STABLE-BRANCH-2-4'
Branches
Unknown
Tags
Unknown
Tasks
T6425: improve pinentry behavior and texts in smart card context