Merge "fix(marvell-tools): include mbedtls/version.h before use" into integration

This commit is contained in:
Olivier Deprez 2024-01-23 10:55:11 +01:00 committed by TrustedFirmware Code Review
commit 9f9b4814c5
2 changed files with 4 additions and 1 deletions

View file

@ -1369,6 +1369,9 @@ subsections:
deprecated:
- cert_create
- title: Marvell Tools
scope: marvell-tools
- title: Dependencies
scope: deps

View file

@ -18,6 +18,7 @@
#include <libconfig.h> /* for parsing config file */
/* mbedTLS stuff */
#include <mbedtls/version.h>
#if defined(MBEDTLS_BIGNUM_C) && defined(MBEDTLS_ENTROPY_C) && \
defined(MBEDTLS_SHA256_C) && \
defined(MBEDTLS_PK_PARSE_C) && defined(MBEDTLS_FS_IO) && \
@ -28,7 +29,6 @@
#include <mbedtls/md.h>
#include <mbedtls/pk.h>
#include <mbedtls/sha256.h>
#include <mbedtls/version.h>
#include <mbedtls/x509.h>
#else
#error "Bad mbedTLS configuration!"