aboutsummaryrefslogtreecommitdiffstats
path: root/sm
diff options
context:
space:
mode:
Diffstat (limited to 'sm')
-rw-r--r--sm/call-agent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sm/call-agent.c b/sm/call-agent.c
index dfaeee61a..542c8495c 100644
--- a/sm/call-agent.c
+++ b/sm/call-agent.c
@@ -1037,6 +1037,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)