From 4f91d8d7adacfd34cfa7223608f3268a2a4ce635 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Fri, 23 Apr 2021 12:07:25 +0100 Subject: [PATCH] Change "high level error" to "high level module ID" Signed-off-by: Chris Jones --- tests/src/helpers.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/src/helpers.c b/tests/src/helpers.c index 4923e3c68..72b886de7 100644 --- a/tests/src/helpers.c +++ b/tests/src/helpers.c @@ -295,12 +295,13 @@ void mbedtls_test_err_add_check( int high, int low, * shhhhhhhhlllllll * * 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. */ if ( high > -0x1000 && high != 0 ) /* 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",