aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-01-20 08:23:27 +0000
committerWerner Koch <[email protected]>2023-01-20 10:07:15 +0000
commitde292078a53630842e16a8dcd51196c567534537 (patch)
tree5b22a0dddae16586f6009e8978e02a1b6719940a
parentcommon: Detect PNG and JPEG file formats. (diff)
downloadgnupg-de292078a53630842e16a8dcd51196c567534537.tar.gz
gnupg-de292078a53630842e16a8dcd51196c567534537.zip
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.
-rw-r--r--g10/mainproc.c2
1 files changed, 1 insertions, 1 deletions
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)