diff options
Diffstat (limited to 'g10/gpg.c')
-rw-r--r-- | g10/gpg.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2012,11 +2012,11 @@ gpgconf_list (void) get_default_pubkey_algo ()); /* This info only mode tells whether the we are running in de-vs * compliance mode. This does not test all parameters but the basic - * conditions like a proper RNG and Libgcrypt. AS of now we always - * return 0 because this version of gnupg has not yet received an - * approval. */ + * conditions like a proper RNG and Libgcrypt. */ es_printf ("compliance_de_vs:%lu:%d:\n", GC_OPT_FLAG_DEFAULT, - 0 /*gnupg_rng_is_compliant (CO_DE_VS)*/); + (opt.compliance==CO_DE_VS + && gnupg_rng_is_compliant (CO_DE_VS))? + atoi (gnupg_status_compliance_flag (CO_DE_VS)) : 0); es_printf ("use_keyboxd:%lu:%d:\n", GC_OPT_FLAG_DEFAULT, opt.use_keyboxd); |