Home GnuPG
Diffusion GnuPG 2013cb5ee667

scd: Clear CHV status on timeout error.

Description

scd: Clear CHV status on timeout error.

* scd/app-openpgp.c (clear_chv_status): New.
(do_change_pin): Use clear_chv_status.
(do_sign): Call clear_chv_status on GPG_ERR_TIMEOUT.
(do_auth, do_decipher): Likewise.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Feb 21 2019, 7:50 AM
Parents
rGbd15aa34ab8a: scd: Handle ack button timeout as GPG_ERR_TIMEOUT.
Branches
Unknown
Tags
Unknown