core: New function gpgme_op_revuid.
authorWerner Koch <wk@gnupg.org>
Wed, 14 Sep 2016 10:41:16 +0000 (12:41 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 14 Sep 2016 10:42:12 +0000 (12:42 +0200)
commitc943380b7a2cc9b32f81c22224fc6f92e8ea8469
treeb55cc4419c35a32fcca9f895d80e25b3efc53fc1
parentc22f5884c50557f54704f4becc5a8c1ee0749547
core: New function gpgme_op_revuid.

* src/engine.h (GENKEY_EXTRAFLAG_REVOKE): New.
* src/genkey.c (adduid_start): Rename to addrevuid_start.  Add arg
REVOKE and pass it as extraflags.  Remove useless ARMOR extraflag.
Adjust callers.
(gpgme_op_revuid_start, gpgme_op_revuid): New.
* src/gpgme.def, src/libgpgme.vers: Add them.

* tests/run-genkey.c: Add option --revuid.

Signed-off-by: Werner Koch <wk@gnupg.org>
NEWS
src/engine-gpg.c
src/engine.h
src/genkey.c
src/gpgme.def
src/gpgme.h.in
src/libgpgme.vers
tests/run-genkey.c