mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02: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
85d8fa57db
commit
69a8aefa5b
1 changed files with 2 additions and 0 deletions
|
@ -1020,6 +1020,8 @@ gpgsm_agent_istrusted (ctrl_t ctrl, ksba_cert_t cert, const char *hexfpr,
|
|||
rc = assuan_transact (agent_ctx, "LISTTRUSTED --status",
|
||||
NULL, NULL, NULL, NULL,
|
||||
istrusted_status_cb, &parm);
|
||||
istrusted_cache = parm.cache;
|
||||
parm.cache = NULL;
|
||||
if (rc)
|
||||
{
|
||||
if (gpg_err_code (rc) != GPG_ERR_FORBIDDEN)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue