aboutsummaryrefslogtreecommitdiffstats
path: root/sm/gpgsm.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2022-02-27 11:03:20 +0000
committerWerner Koch <[email protected]>2022-02-27 11:26:38 +0000
commit7c8c6060616ab91f5490e91a0fb9efc9aee9f58e (patch)
tree668b52ae34cf03c609fbd90ae086e99f693de110 /sm/gpgsm.h
parentdimngr: Do not check the self-signature of a root CA cert. (diff)
downloadgnupg-7c8c6060616ab91f5490e91a0fb9efc9aee9f58e.tar.gz
gnupg-7c8c6060616ab91f5490e91a0fb9efc9aee9f58e.zip
agent: New flag "qual" for the trustlist.txt.
* agent/trustlist.c (struct trustitem_s): Add flag "qual". (read_one_trustfile): Rename arg "allow_include" to "systrust" and change callers. Parse new flag "qual". (istrusted_internal): Print all flags. * sm/call-agent.c (istrusted_status_cb): Detect the "qual" flag. * sm/gpgsm.h (struct rootca_flags_s): Add flag "qualified". * sm/certchain.c (do_validate_chain): Take care of the qualified flag.
Diffstat (limited to 'sm/gpgsm.h')
-rw-r--r--sm/gpgsm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sm/gpgsm.h b/sm/gpgsm.h
index 6dc5927b7..acb9332ba 100644
--- a/sm/gpgsm.h
+++ b/sm/gpgsm.h
@@ -268,6 +268,7 @@ struct rootca_flags_s
information. */
unsigned int relax:1; /* Relax checking of root certificates. */
unsigned int chain_model:1; /* Root requires the use of the chain model. */
+ unsigned int qualified:1; /* Root CA used for qualfied signatures. */
};