1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +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 c0a6b6b2d7
commit b9528830d6
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

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