1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00

gpg: Do not require --status-fd along with --require-compliance.

* g10/mainproc.c (check_sig_and_print): Do not check whether status is
enabled when checking compliance.
This commit is contained in:
Werner Koch 2023-01-20 09:23:27 +01:00
parent 6df8a513dc
commit de292078a5
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -2612,7 +2612,7 @@ check_sig_and_print (CTX c, kbnode_t node)
} }
/* Compute compliance with CO_DE_VS. */ /* Compute compliance with CO_DE_VS. */
if (pk && is_status_enabled () if (pk
&& gnupg_gcrypt_is_compliant (CO_DE_VS) && gnupg_gcrypt_is_compliant (CO_DE_VS)
&& gnupg_pk_is_compliant (CO_DE_VS, pk->pubkey_algo, 0, pk->pkey, && gnupg_pk_is_compliant (CO_DE_VS, pk->pubkey_algo, 0, pk->pkey,
nbits_from_pk (pk), NULL) nbits_from_pk (pk), NULL)