diff --git a/g10/tofu.c b/g10/tofu.c index 681730320..e6a3429e3 100644 --- a/g10/tofu.c +++ b/g10/tofu.c @@ -3072,6 +3072,7 @@ tofu_register_encryption (ctrl_t ctrl, if (tl == _tofu_GET_TRUST_ERROR) { /* An error. */ + rc = gpg_error (GPG_ERR_GENERAL); xfree (email); goto die; }