diff options
Diffstat (limited to 'src/lib/mac/cmac')
-rw-r--r-- | src/lib/mac/cmac/cmac.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/mac/cmac/cmac.cpp b/src/lib/mac/cmac/cmac.cpp index 0b867af8f..e56aa145b 100644 --- a/src/lib/mac/cmac/cmac.cpp +++ b/src/lib/mac/cmac/cmac.cpp @@ -27,7 +27,7 @@ BOTAN_REGISTER_NAMED_T(MessageAuthenticationCode, "CMAC", CMAC, CMAC::make); */ secure_vector<byte> CMAC::poly_double(const secure_vector<byte>& in) { - const bool top_carry = (in[0] & 0x80); + const bool top_carry = static_cast<bool>(in[0] & 0x80); secure_vector<byte> out = in; |