gpg: Fix new pseudo option compliance_de_vs

* g10/gpg.c (gpgconf_list): Take opt.compliance also in account.
--

This makes it a one-stop check.
This commit is contained in:
Werner Koch 2021-04-06 09:30:24 +02:00
parent 8ef0f53cb0
commit 18551c6dc2
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
1 changed files with 1 additions and 1 deletions

View File

@ -1910,7 +1910,7 @@ gpgconf_list (const char *configfile)
* compliance mode. This does not test all parameters but the basic
* conditions like a proper RNG and Libgcrypt. */
es_printf ("compliance_de_vs:%lu:%d:\n", GC_OPT_FLAG_DEFAULT,
gnupg_rng_is_compliant (CO_DE_VS));
opt.compliance==CO_DE_VS && gnupg_rng_is_compliant (CO_DE_VS));
xfree (configfile_esc);
}