mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-24 08:56:50 +00:00
Change "high level error" to "high level module ID"
Signed-off-by: Chris Jones <christopher.jones@arm.com>
This commit is contained in:
parent
456d29c20b
commit
4f91d8d7ad
|
@ -295,12 +295,13 @@ void mbedtls_test_err_add_check( int high, int low,
|
||||||
* shhhhhhhhlllllll
|
* shhhhhhhhlllllll
|
||||||
*
|
*
|
||||||
* s = sign bit.
|
* s = sign bit.
|
||||||
* h = high level error code (includes high and module error codes).
|
* h = high level error code (includes high level module ID (bits 12..14)
|
||||||
|
* and module-dependent error code (bits 7..11)).
|
||||||
* l = low level error code.
|
* l = low level error code.
|
||||||
*/
|
*/
|
||||||
if ( high > -0x1000 && high != 0 )
|
if ( high > -0x1000 && high != 0 )
|
||||||
/* high < 0001000000000000
|
/* high < 0001000000000000
|
||||||
* No high level error bits are set.
|
* No high level module ID bits are set.
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
mbedtls_test_fail( "'high' is not a high-level error code",
|
mbedtls_test_fail( "'high' is not a high-level error code",
|
||||||
|
|
Loading…
Reference in a new issue