aboutsummaryrefslogtreecommitdiffstats
path: root/sm/call-agent.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sm/call-agent.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sm/call-agent.c b/sm/call-agent.c
index da952dc09..88447bd63 100644
--- a/sm/call-agent.c
+++ b/sm/call-agent.c
@@ -486,6 +486,8 @@ istrusted_status_cb (void *opaque, const char *line)
;
if (!strncmp (line, "relax", 5) && (line[5] == ' ' || !line[5]))
flags->relax = 1;
+ else if (!strncmp (line, "cm", 2) && (line[2] == ' ' || !line[2]))
+ flags->chain_model = 1;
}
return 0;
}
@@ -521,6 +523,8 @@ gpgsm_agent_istrusted (ctrl_t ctrl, ksba_cert_t cert,
rc = assuan_transact (agent_ctx, line, NULL, NULL, NULL, NULL,
istrusted_status_cb, rootca_flags);
+ if (!rc)
+ rootca_flags->valid = 1;
return rc;
}