mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-08 14:49:59 -04:00

`mbedtls_test_err_add_check` was previously incorrectly throwing an error if both error codes were correct and valid pure error codes. This change fixes that behaviour to correctly throw errors when invalid combinations are found. Signed-off-by: Chris Jones <christopher.jones@arm.com>