Home GnuPG
Diffusion GnuPG 2cdea776cd6d

scd: Use a macro for the flag parameter of learn_status.

Description

scd: Use a macro for the flag parameter of learn_status.

* scd/app-common.h (APP_LEARN_FLAG_KEYPAIRINFO): New flag macro..
* scd/command.c (cmd_learn): Pass that flag instead of a plain number.
* scd/app-nks.c (do_learn_status_core): Use new flag.
* scd/app-p15.c (do_learn_status): Ditto.
* scd/app-piv.c (do_learn_status): Ditto.
* scd/app-sc-hsm.c (do_learn_status): Ditto.
* scd/app.c (app_write_learn_status): Ditto.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Sep 4 2019, 10:43 AM
Parents
rG1d277c967043: doc: Fix grammar error.
Branches
Unknown
Tags
Unknown