mirror of
https://github.com/espressif/mbedtls.git
synced 2026-10-02 15:17:23 +00:00
Include limits.h where needed
This will be needed when TF-PSA-Crypto's `build_info.h` stops including `limits.h`, which it currently does by accident because it includes `check_config.h` which wants `limits.h` to check `CHAR_BIT`. Signed-off-by: Gilles Peskine <[email protected]>
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
#include <test/ssl_helpers.h>
|
||||
#include "mbedtls/psa_util.h"
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#if defined(MBEDTLS_SSL_TLS_C)
|
||||
int mbedtls_test_random(void *p_rng, unsigned char *output, size_t output_len)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user