mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
gpg: Make --require-compliance work with out --status-fd
* g10/mainproc.c (proc_encrypted): Set complaince_de_vs also if require-compliance is set. -- Without this fix require-compliance would fail if no --status-fd was used.
This commit is contained in:
parent
1324dc3490
commit
2aacd843ad
@ -726,7 +726,7 @@ proc_encrypted (CTX c, PACKET *pkt)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Compute compliance with CO_DE_VS. */
|
/* Compute compliance with CO_DE_VS. */
|
||||||
if (!result && is_status_enabled ()
|
if (!result && (is_status_enabled () || opt.flags.require_compliance)
|
||||||
/* Overriding session key voids compliance. */
|
/* Overriding session key voids compliance. */
|
||||||
&& !opt.override_session_key
|
&& !opt.override_session_key
|
||||||
/* Check symmetric cipher. */
|
/* Check symmetric cipher. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user