Add a x509 prerequisite in x509_internal.h

Lack of this requirement caused warning when compiling the 
x509 test suites with config-thread.h from example configs,
resulting in an error when running from test-ref-configs.pl.
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
Andrzej Kurek 2020-05-19 07:13:26 -04:00
parent 13bebd0edb
commit 220e61478f
No known key found for this signature in database
GPG Key ID: 89A90840DC388527

View File

@ -25,6 +25,8 @@
#ifndef MBEDTLS_X509_INTERNAL_H
#define MBEDTLS_X509_INTERNAL_H
#if defined(MBEDTLS_X509_USE_C)
#include "x509.h"
#include "threading.h"
@ -118,4 +120,5 @@ static int mbedtls_x509_write_sig( unsigned char **p, unsigned char *start,
const char *oid, size_t oid_len,
unsigned char *sig, size_t size );
#endif /* MBEDTLS_X509_CREATE_C */
#endif /* MBEDTLS_X509_USE_C */
#endif /* MBEDTLS_X509_INTERNAL_H */