Home GnuPG
Diffusion GnuPG c5f4900a57f8

scd: Return GPG_ERR_PIN_BLOCKED before asking the PIN to a user.

Description

scd: Return GPG_ERR_PIN_BLOCKED before asking the PIN to a user.

* scd/app-openpgp.c (do_change_pin): Check retry counter before
asking the PIN and return GPG_ERR_PIN_BLOCKED if locked.
  • GnuPG-bug-id: T6425
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>