Diffusion GnuPG e051e3961562

common: Add cipher mode to compliance predicate.

Authored by justus on Jun 7 2017, 4:09 PM.

Description

common: Add cipher mode to compliance predicate.

* common/compliance.c (gnupg_cipher_is_compliant): Add mode parameter.
* common/compliance.h (gnupg_cipher_is_compliant): Likewise.
* g10/mainproc.c (proc_encrypted): Adapt callsite.
* sm/decrypt.c (gpgsm_decrypt): Likewise.
  • GnuPG-bug-id: T3059
  • Signed-off-by: Justus Winter <justus@g10code.com>