aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.c
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2017-02-28 12:15:42 +0000
committerJustus Winter <[email protected]>2017-02-28 12:15:42 +0000
commitebeccd73eb85f9027f0985d77dfe901266c6ddef (patch)
tree5a6efe65b1a90f25b7ee7b33ac99857241d31afb /g10/gpg.c
parentgpgscm: Track source locations in every kind of ports. (diff)
downloadgnupg-ebeccd73eb85f9027f0985d77dfe901266c6ddef.tar.gz
gnupg-ebeccd73eb85f9027f0985d77dfe901266c6ddef.zip
gpg,tools: Make trust-model configurable via gpgconf.
* g10/gpg.c (gpgconf_list): Add 'trust-model'. * tools/gpgconf-comp.c (gc_options_gpg): Likewise. GnuPG-bug-id: 2381 Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'g10/gpg.c')
-rw-r--r--g10/gpg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index 0c5a1677c..09bdf66ba 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -1845,6 +1845,7 @@ gpgconf_list (const char *configfile)
es_printf ("group:%lu:\n", GC_OPT_FLAG_NONE);
es_printf ("compliance:%lu:\"%s:\n", GC_OPT_FLAG_DEFAULT, "gnupg");
es_printf ("default-new-key-algo:%lu:\n", GC_OPT_FLAG_NONE);
+ es_printf ("trust-model:%lu:\n", GC_OPT_FLAG_NONE);
/* The next one is an info only item and should match the macros at
the top of keygen.c */