mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 10:55:38 +01:00
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:
parent
13bebd0edb
commit
220e61478f
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user