From de292078a53630842e16a8dcd51196c567534537 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 20 Jan 2023 09:23:27 +0100 Subject: 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. --- g10/mainproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g10/mainproc.c b/g10/mainproc.c index 096f16c71..456d1ffbe 100644 --- a/g10/mainproc.c +++ b/g10/mainproc.c @@ -2612,7 +2612,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) -- cgit v1.2.3