aboutsummaryrefslogtreecommitdiffstats
path: root/gpgme/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpgme/edit.c')
-rw-r--r--gpgme/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpgme/edit.c b/gpgme/edit.c
index 023bbe07..5ea68b81 100644
--- a/gpgme/edit.c
+++ b/gpgme/edit.c
@@ -105,7 +105,7 @@ edit_start (gpgme_ctx_t ctx, int synchronous, gpgme_key_t key,
return err;
if (!fnc || !out)
- return GPGME_Invalid_Value;
+ return gpg_error (GPG_ERR_INV_VALUE);
err = _gpgme_op_data_lookup (ctx, OPDATA_EDIT, &hook, sizeof (*opd), NULL);
opd = hook;