mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-17 14:07:03 +01:00
gpgsm: Fix "problem re-searching certificate" case.
* sm/keydb.c (keydb_set_cert_flags): Fix error test.
This commit is contained in:
parent
b6abaed2b5
commit
1c2bdd80b1
@ -2027,7 +2027,7 @@ keydb_set_cert_flags (ctrl_t ctrl, ksba_cert_t cert, int ephemeral,
|
|||||||
err = keydb_search_fpr (ctrl, kh, fpr);
|
err = keydb_search_fpr (ctrl, kh, fpr);
|
||||||
if (err)
|
if (err)
|
||||||
{
|
{
|
||||||
if (gpg_err_code (err) != gpg_error (GPG_ERR_NOT_FOUND))
|
if (gpg_err_code (err) != GPG_ERR_NOT_FOUND)
|
||||||
log_error (_("problem re-searching certificate: %s\n"),
|
log_error (_("problem re-searching certificate: %s\n"),
|
||||||
gpg_strerror (err));
|
gpg_strerror (err));
|
||||||
keydb_release (kh);
|
keydb_release (kh);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user