Clarify case when high level error code is incorrect

Signed-off-by: Chris Jones <christopher.jones@arm.com>
This commit is contained in:
Chris Jones 2021-04-26 16:31:16 +01:00
parent 4f91d8d7ad
commit 860f509421

View file

@ -309,7 +309,7 @@ void mbedtls_test_err_add_check( int high, int low,
} }
else if ( high < -0x7F80 ) else if ( high < -0x7F80 )
/* high > 0111111110000000 /* high > 0111111110000000
* Error code is larger than the greatest high + module level error. * Error code is greater than the largest allowed high level module ID.
*/ */
{ {
mbedtls_test_fail( "'high' error code is greater than 15 bits", mbedtls_test_fail( "'high' error code is greater than 15 bits",