Home GnuPG

Fix CBC-CTS+CBC-MAC flag check

Description

Fix CBC-CTS+CBC-MAC flag check

* cipher/cipher.c (_gcry_cipher_open_internal): Check flags separately
instead of AND masking two flags to zero.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Jun 19 2018, 5:34 PM
Parents
rC2a94bdfc0538: tests/basic: silence GCC-8 warning
Branches
Unknown
Tags
Unknown