Fix CBC-CTS+CBC-MAC flag check

Authored by jukivili on Jun 19 2018, 5:34 PM.

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

Committed
jukiviliJun 19 2018, 6:29 PM
Parents
rC2a94bdfc0538: tests/basic: silence GCC-8 warning
Branches
Unknown
Tags
Unknown