diff options
author | Werner Koch <[email protected]> | 2023-01-20 08:23:27 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2023-01-20 08:23:27 +0000 |
commit | b9528830d67b105a72b5e84bcc328fecba5e7153 (patch) | |
tree | 6d6b30097cd797deb84ed4d4205054856a9ad465 /g10/mainproc.c | |
parent | doc: Update copyright notices. (diff) | |
download | gnupg-b9528830d67b105a72b5e84bcc328fecba5e7153.tar.gz gnupg-b9528830d67b105a72b5e84bcc328fecba5e7153.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.
Diffstat (limited to 'g10/mainproc.c')
-rw-r--r-- | g10/mainproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c index 330ad10c5..4710386ea 100644 --- a/g10/mainproc.c +++ b/g10/mainproc.c @@ -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) |