Skip to content

Commit 7c7c29e

Browse files
Ron EldorRon Eldor
authored andcommitted
Change error code value
Change the error code value to a low level value, as the low level range upper limit is 0x7f
1 parent 0615d54 commit 7c7c29e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/mbedtls/error.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
* CHACHA20 1 0x0051-0x0051
7272
* POLY1305 1 0x0057-0x0057
7373
* CHACHAPOLY 2 0x0054-0x0056
74-
* PLATFORM 1 0x0070-0x0082
74+
* PLATFORM 1 0x0070-0x0072
7575
*
7676
* High-level module nr (3 bits - 0x0...-0x7...)
7777
* Name ID Nr of Errors

include/mbedtls/platform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#endif
4545

4646
#define MBEDTLS_ERR_PLATFORM_HW_ACCEL_FAILED -0x0070 /**< Hardware accelerator failed */
47-
#define MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED -0x0082 /**< The requested feature is not supported by the platform */
47+
#define MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED -0x0072 /**< The requested feature is not supported by the platform */
4848

4949
#ifdef __cplusplus
5050
extern "C" {

0 commit comments

Comments
 (0)