aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpgconf-comp.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 /tools/gpgconf-comp.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 'tools/gpgconf-comp.c')
-rw-r--r--tools/gpgconf-comp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c
index d1144b2c9..1840b8f32 100644
--- a/tools/gpgconf-comp.c
+++ b/tools/gpgconf-comp.c
@@ -717,6 +717,10 @@ static gc_option_t gc_options_gpg[] =
(GC_OPT_FLAG_ARG_OPT|GC_OPT_FLAG_NO_CHANGE), GC_LEVEL_INVISIBLE,
NULL, NULL,
GC_ARG_TYPE_STRING, GC_BACKEND_GPG },
+ { "trust-model",
+ GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE,
+ NULL, NULL,
+ GC_ARG_TYPE_STRING, GC_BACKEND_GPG },
{ "Debug",