aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2022-02-02 19:39:42 +0000
committerWerner Koch <[email protected]>2022-02-02 19:39:42 +0000
commite058d15d2d56dfed2723e1a55c75e52db87b2dc2 (patch)
tree38414b4d729fc49c41bf8fb58525d29d7f342da8
parentdirmngr: Avoid initial delay on the first keyserver access. (diff)
downloadgnupg-e058d15d2d56dfed2723e1a55c75e52db87b2dc2.tar.gz
gnupg-e058d15d2d56dfed2723e1a55c75e52db87b2dc2.zip
gpgconf: Return the compliance_de_vs item.
* tools/gpgconf-comp.c (known_options_gpg): Add missing pseudo option.
-rw-r--r--tools/gpgconf-comp.c5
1 files changed, 5 insertions, 0 deletions
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
};