From cc353701b0fde4c811ddc1e9a91b852dfe9f4e06 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 14 Sep 2016 09:51:16 +0200 Subject: core: New function gpgme_op_createsubkey. * src/genkey.c (createsubkey_start): New. (gpgme_op_createsubkey_start, gpgme_op_createsubkey): New. * src/gpgme.def, src/libgpgme.vers: Add them. * src/engine-gpg.c (gpg_createkey): Factor some code out to ... (gpg_add_algo_usage_expire): new. (gpg_addkey): Implement. * tests/run-genkey.c: Add option --addkey. Signed-off-by: Werner Koch --- doc/gpgme.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/gpgme.texi') diff --git a/doc/gpgme.texi b/doc/gpgme.texi index dfc9548b..ef39d81b 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -3792,7 +3792,7 @@ The function @code{gpgme_op_genkey} generates a new key pair in the context @var{ctx}. The meaning of @var{public} and @var{secret} depends on the crypto backend. -GnuPG does not support @var{public} and @var{secret}, they should be +GPG does not support @var{public} and @var{secret}, they should be @code{NULL}. GnuPG will generate a key pair and add it to the standard key ring. The fingerprint of the generated key is available with @code{gpgme_op_genkey_result}. -- cgit v1.2.3