From b996b0540a0d78f3a3580da7814f0d86264da511 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 7 Jul 2009 14:33:10 +0000 Subject: Inmplement import from keys for GPGSM. Add option --cms to run-keylist test program. --- src/engine-gpg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine-gpg.c') 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); -- cgit v1.2.3