mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-02 12:01:32 +01:00
g10: On failure, propagate the return code.
* g10/tofu.c (tofu_register_encryption): If get_trust fails, set RC. -- Signed-off-by: Neal H. Walfield <neal@g10code.com>
This commit is contained in:
parent
3825847300
commit
6e930f0e40
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user