aboutsummaryrefslogtreecommitdiffstats
path: root/src/import.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2017-08-10 14:50:11 +0000
committerMarcus Brinkmann <[email protected]>2017-08-10 14:50:11 +0000
commitdfb3ca85680534b3885ab04d3fba4752c5a6f998 (patch)
tree89cc29c55f913526ae57d53d867b9fd103df5f18 /src/import.c
parentdoc: Add more tofu documentation. (diff)
downloadgpgme-dfb3ca85680534b3885ab04d3fba4752c5a6f998.tar.gz
gpgme-dfb3ca85680534b3885ab04d3fba4752c5a6f998.zip
doc: Clarify import keys operation.
* doc/gpgme.texi (gpgme_op_import_start): Fix grammar. (gpgme_op_import_keys): Clarify some wording and fix result. * src/import.c (gpgme_op_import_keys): Clarify comment. Signed-off-by: Marcus Brinkmann <[email protected]> GnuPG-bug-id: 3215
Diffstat (limited to 'src/import.c')
-rw-r--r--src/import.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/import.c b/src/import.c
index 4173fe91..386ca722 100644
--- a/src/import.c
+++ b/src/import.c
@@ -392,13 +392,12 @@ gpgme_op_import_keys_start (gpgme_ctx_t ctx, gpgme_key_t *keys)
}
-/* Import the keys from the array KEYS into the keyring. This
- function allows to move a key from one engine to another as long as
- they are compatible. In particular it is used to actually import
- keys retrieved from an external source (i.e. using
- GPGME_KEYLIST_MODE_EXTERN). It replaces the old workaround of
- exporting and then importing a key as used to make an X.509 key
- permanent. This function automagically does the right thing.
+/* Import the keys from the array KEYS into the keyring. In
+ particular it is used to actually import keys retrieved from an
+ external source (i.e. using GPGME_KEYLIST_MODE_EXTERN). It
+ replaces the old workaround of exporting and then importing a key
+ as used to make an X.509 key permanent. This function
+ automagically does the right thing.
KEYS is a NULL terminated array of gpgme key objects. The result
is the usual import result structure. Only keys matching the