mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-05 19:35:48 +03:00
Include mbedtls/platform_time.h conditionally on MBEDTLS_HAVE_TIME
Work around https://github.com/Mbed-TLS/TF-PSA-Crypto/issues/393 Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
@@ -12,6 +12,11 @@
|
||||
#include "mbedtls/platform.h"
|
||||
#include <string.h>
|
||||
|
||||
/* Work around https://github.com/Mbed-TLS/TF-PSA-Crypto/issues/393 */
|
||||
#if defined(MBEDTLS_HAVE_TIME)
|
||||
#include <mbedtls/platform_time.h>
|
||||
#endif
|
||||
|
||||
INCLUDE_HEADERS
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user