aboutsummaryrefslogtreecommitdiffstats
path: root/kbx/keybox-init.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--kbx/keybox-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kbx/keybox-init.c b/kbx/keybox-init.c
index b1d279999..e11c4f09c 100644
--- a/kbx/keybox-init.c
+++ b/kbx/keybox-init.c
@@ -120,7 +120,7 @@ int
keybox_set_ephemeral (KEYBOX_HANDLE hd, int yes)
{
if (!hd)
- return KEYBOX_Invalid_Handle;
+ return gpg_error (GPG_ERR_INV_HANDLE);
hd->ephemeral = yes;
return 0;
}