Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly handle the return value from EVP_Cipher() in the CMAC code
EVP_Cipher() is a very low level routine that directly calls the underlying cipher function. It's return value semantics are very odd. Depending on the type of cipher 0 or -1 is returned on error. We should just check for <=0 for a failure. Fixes openssl#11957 Reviewed-by: Richard Levitte <[email protected]> (Merged from openssl#11972)
- Loading branch information