mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 23:45:42 +01:00
CERTS_C depends on PEM_PARSE_C
This commit is contained in:
parent
7c3291ea87
commit
18dc0e2746
@ -916,6 +916,8 @@
|
|||||||
* Module: library/certs.c
|
* Module: library/certs.c
|
||||||
* Caller:
|
* Caller:
|
||||||
*
|
*
|
||||||
|
* Requires: POLARSSL_PEM_PARSE_C
|
||||||
|
*
|
||||||
* This module is used for testing (ssl_client/server).
|
* This module is used for testing (ssl_client/server).
|
||||||
*/
|
*/
|
||||||
#define POLARSSL_CERTS_C
|
#define POLARSSL_CERTS_C
|
||||||
@ -1721,14 +1723,18 @@
|
|||||||
/*
|
/*
|
||||||
* Sanity checks on defines and dependencies
|
* Sanity checks on defines and dependencies
|
||||||
*/
|
*/
|
||||||
#if defined(POLARSSL_DHM_C) && !defined(POLARSSL_BIGNUM_C)
|
#if defined(POLARSSL_CERTS_C) && !defined(POLARSSL_PEM_PARSE_C)
|
||||||
#error "POLARSSL_DHM_C defined, but not all prerequisites"
|
#error "POLARSSL_CERTS_C defined, but not all prerequisites"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_CTR_DRBG_C) && !defined(POLARSSL_AES_C)
|
#if defined(POLARSSL_CTR_DRBG_C) && !defined(POLARSSL_AES_C)
|
||||||
#error "POLARSSL_CTR_DRBG_C defined, but not all prerequisites"
|
#error "POLARSSL_CTR_DRBG_C defined, but not all prerequisites"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(POLARSSL_DHM_C) && !defined(POLARSSL_BIGNUM_C)
|
||||||
|
#error "POLARSSL_DHM_C defined, but not all prerequisites"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_ECDH_C) && !defined(POLARSSL_ECP_C)
|
#if defined(POLARSSL_ECDH_C) && !defined(POLARSSL_ECP_C)
|
||||||
#error "POLARSSL_ECDH_C defined, but not all prerequisites"
|
#error "POLARSSL_ECDH_C defined, but not all prerequisites"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user