Home GnuPG
Diffusion GnuPG ff87f4e578f4

scd: New flag --reread for LEARN

Description

scd: New flag --reread for LEARN

* scd/command.c (cmd_learn): Add flag --reread.
* scd/app-common.h (struct app_ctx_s): New field need_reset.
* scd/app.c (write_learn_status_core): Set need_reset if we notice an
error after returning from a reread.  Change all callers of card
functions to return GPG_ERR_CARD_RESET so that that app is not anymore
used.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Thu, Apr 1, 10:31 AM
Parents
rGe17d3f866057: scd:p15: New flag APP_LEARN_FLAG_REREAD.
Branches
Unknown
Tags
Unknown