From e058d15d2d56dfed2723e1a55c75e52db87b2dc2 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 2 Feb 2022 20:39:42 +0100 Subject: [PATCH] gpgconf: Return the compliance_de_vs item. * tools/gpgconf-comp.c (known_options_gpg): Add missing pseudo option. --- tools/gpgconf-comp.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c index 9b0cc7d1f..75ba37507 100644 --- a/tools/gpgconf-comp.c +++ b/tools/gpgconf-comp.c @@ -418,12 +418,17 @@ static known_option_t known_options_gpg[] = /* The next is a pseudo option which we read via --gpgconf-list. * The meta information is taken from the table below. */ { "default_pubkey_algo", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE }, + { "compliance_de_vs", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE }, { NULL } }; static const char *known_pseudo_options_gpg[] = {/* v-- ARGPARSE_TYPE_STRING */ "default_pubkey_algo:0:2:@:", + /* A basic compliance check for gpg. We use gpg here but the + * result is valid for all components. + * v-- ARGPARSE_TYPE_INT */ + "compliance_de_vs:0:1:@:", NULL };