Fix CBC-CTS+CBC-MAC flag check
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Tue, 19 Jun 2018 15:34:33 +0000 (18:34 +0300)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Tue, 19 Jun 2018 16:29:25 +0000 (19:29 +0300)
commita69021535b472556651eb2bab65666206c56c24b
treea165f20a720754c584ed38c3178d4887ed062727
parent2a94bdfc0538a340a24c1a7b524bb0c5f606457c
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>
cipher/cipher.c