aboutsummaryrefslogtreecommitdiffstats
path: root/sm/call-agent.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-04-03 12:06:36 +0000
committerWerner Koch <[email protected]>2023-04-03 12:10:33 +0000
commita5360ae4c7bfe6df6754409d5bd5c5a521ae5e6f (patch)
tree035902bfb2546b1b2c0e8446733d681b0a57c4d0 /sm/call-agent.c
parentgpgsm: Create binary detached sigs with definite form length octets. (diff)
downloadgnupg-a5360ae4c7bfe6df6754409d5bd5c5a521ae5e6f.tar.gz
gnupg-a5360ae4c7bfe6df6754409d5bd5c5a521ae5e6f.zip
agent: Add trustlist flag "de-vs".
* agent/trustlist.c (struct trustitem_s): Add field de_vs. (read_one_trustfile): Parse it. (istrusted_internal): Emit TRUSTLISTFLAG status line. * sm/gpgsm.h (struct rootca_flags_s): Add field de_vs. * sm/call-agent.c (istrusted_status_cb): Detect the flags. * sm/sign.c (write_detached_signature): Remove unused vars. -- Right now this flag has no effect; we first need to specify the exact behaviour. GnuPG-bug-id: 5079
Diffstat (limited to 'sm/call-agent.c')
-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 06319cf62..698039504 100644
--- a/sm/call-agent.c
+++ b/sm/call-agent.c
@@ -890,6 +890,8 @@ istrusted_status_cb (void *opaque, const char *line)
flags->chain_model = 1;
else if (has_leading_keyword (line, "qual"))
flags->qualified = 1;
+ else if (has_leading_keyword (line, "de-vs"))
+ flags->de_vs = 1;
}
return 0;
}