aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine-gpg.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2009-07-07 14:33:10 +0000
committerWerner Koch <[email protected]>2009-07-07 14:33:10 +0000
commitb996b0540a0d78f3a3580da7814f0d86264da511 (patch)
tree92a30f74200b6e816113262c57da188a44624d10 /src/engine-gpg.c
parentMove gpg test programs to the top test directory. (diff)
downloadgpgme-b996b0540a0d78f3a3580da7814f0d86264da511.tar.gz
gpgme-b996b0540a0d78f3a3580da7814f0d86264da511.zip
Inmplement import from keys for GPGSM.
Add option --cms to run-keylist test program.
Diffstat (limited to '')
-rw-r--r--src/engine-gpg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine-gpg.c b/src/engine-gpg.c
index a3b94677..dba49a9c 100644
--- a/src/engine-gpg.c
+++ b/src/engine-gpg.c
@@ -1914,7 +1914,7 @@ gpg_import (void *engine, gpgme_data_t keydata, gpgme_key_t *keyarray)
gpgme_data_encoding_t dataenc;
if (keydata && keyarray)
- gpg_error (GPG_ERR_INV_VALUE); /* Only one is allowed. */
+ return gpg_error (GPG_ERR_INV_VALUE); /* Only one is allowed. */
dataenc = gpgme_data_get_encoding (keydata);