mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-12-06 12:00:59 +03:00
Add comment about internal crypto include
Besides using an internal crypto header, error.h is arguably the wrong place: this file's docstring says it's about "Error to string translation", quite unrelated to the things we use from error_common.h. This is not surprising given the history, but no longer makes sense today. Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
@@ -11,6 +11,10 @@
|
||||
#define MBEDTLS_ERROR_H
|
||||
|
||||
#include "mbedtls/build_info.h"
|
||||
// XXX: internal crypto include, used for:
|
||||
// - MBEDTLS_ERROR_ADD
|
||||
// - MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED
|
||||
// - possibly others (the above are just the first build errors)
|
||||
#include "mbedtls/private/error_common.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
Reference in New Issue
Block a user