diff options
author | Werner Koch <wk@gnupg.org> | 2017-12-18 12:05:02 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2017-12-18 12:05:31 +0100 |
commit | 8c878ae4c9dfa9fe26aa15f4f9db3e86833575e9 (patch) | |
tree | e9e476ce236184585fa6c9cb38554e7791a2077b /tools/gpgconf-comp.c | |
parent | po: Update Japanese translation. (diff) | |
download | gnupg2-8c878ae4c9dfa9fe26aa15f4f9db3e86833575e9.tar.xz gnupg2-8c878ae4c9dfa9fe26aa15f4f9db3e86833575e9.zip |
sm: Allow explicit setting of the default --compliance=gnupg
* sm/gpgsm.c (main): Allow setting of the default compliance.
* tools/gpgconf-comp.c (gc_options_gpgsm): Add "compliance".
--
This is required so that we can use this option in in gpgconf.conf.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'tools/gpgconf-comp.c')
-rw-r--r-- | tools/gpgconf-comp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c index 9ce752b18..dd562d256 100644 --- a/tools/gpgconf-comp.c +++ b/tools/gpgconf-comp.c @@ -833,6 +833,9 @@ static gc_option_t gc_options_gpgsm[] = (GC_OPT_FLAG_ARG_OPT|GC_OPT_FLAG_NO_CHANGE), GC_LEVEL_INVISIBLE, NULL, NULL, GC_ARG_TYPE_STRING, GC_BACKEND_GPGSM }, + { "compliance", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE, + NULL, NULL, + GC_ARG_TYPE_STRING, GC_BACKEND_GPGSM }, { "Debug", GC_OPT_FLAG_GROUP, GC_LEVEL_ADVANCED, |