mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-26 14:05:40 +00:00
Clarify case when high level error code is incorrect
Signed-off-by: Chris Jones <christopher.jones@arm.com>
This commit is contained in:
parent
4f91d8d7ad
commit
860f509421
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue