core: Change a parameter for the engine's genkey function.
authorWerner Koch <wk@gnupg.org>
Wed, 14 Sep 2016 10:15:35 +0000 (12:15 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 14 Sep 2016 10:42:12 +0000 (12:42 +0200)
commitc22f5884c50557f54704f4becc5a8c1ee0749547
tree7bb96c1cc7b43662bc09cc3ef3ad53e74a302e17
parent24b4162d908b48a92660020be0b776c2874fb05a
core: Change a parameter for the engine's genkey function.

* src/engine.h (GENKEY_EXTRAFLAG_ARMOR): New.
* src/engine-backend.h (engine_ops): Rename USE_ARMOR in genkey to
EXTRAFLAGS.
* src/engine.c (_gpgme_engine_op_genkey): Ditto.
* src/engine-gpg.c (gpg_createkey_from_param): Ditto and test the
flags.
(gpg_createkey_legacy): Ditto.
(gpg_createkey): Ditto.
(gpg_addkey): Ditto.
(gpg_genkey): Ditto.

Signed-off-by: Werner Koch <wk@gnupg.org>
src/engine-backend.h
src/engine-gpg.c
src/engine-gpgsm.c
src/engine.c
src/engine.h
src/genkey.c