mirror of
git://git.gnupg.org/gnupg.git
synced 2024-10-29 19:48:43 +01:00
gpgsm: Fix cached istrusted lookup.
* sm/call-agent.c (gpgsm_agent_istrusted): Actually set istrusted
list.
--
Fixes-commit: 9087c1d363
This commit is contained in:
parent
f8b1b7b4df
commit
374195e741
@ -1037,6 +1037,8 @@ gpgsm_agent_istrusted (ctrl_t ctrl, ksba_cert_t cert, const char *hexfpr,
|
|||||||
rc = assuan_transact (agent_ctx, "LISTTRUSTED --status",
|
rc = assuan_transact (agent_ctx, "LISTTRUSTED --status",
|
||||||
NULL, NULL, NULL, NULL,
|
NULL, NULL, NULL, NULL,
|
||||||
istrusted_status_cb, &parm);
|
istrusted_status_cb, &parm);
|
||||||
|
istrusted_cache = parm.cache;
|
||||||
|
parm.cache = NULL;
|
||||||
if (rc)
|
if (rc)
|
||||||
{
|
{
|
||||||
if (gpg_err_code (rc) != GPG_ERR_FORBIDDEN)
|
if (gpg_err_code (rc) != GPG_ERR_FORBIDDEN)
|
||||||
|
Loading…
Reference in New Issue
Block a user