mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-30 17:09:41 -04:00
Adjust PKCS5 dependencies in check_config
It's possible to build PKCS5 with PSA instead of MD Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
parent
65bf73ed6a
commit
345a92b321
@ -154,8 +154,9 @@
|
|||||||
#error "MBEDTLS_PKCS12_C defined, but not all prerequisites"
|
#error "MBEDTLS_PKCS12_C defined, but not all prerequisites"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_PKCS5_C) && (!defined(MBEDTLS_MD_C) || \
|
#if defined(MBEDTLS_PKCS5_C) && \
|
||||||
!defined(MBEDTLS_CIPHER_C))
|
( !( defined(MBEDTLS_MD_C) || defined(MBEDTLS_PSA_CRYPTO_C) ) || \
|
||||||
|
!defined(MBEDTLS_CIPHER_C) )
|
||||||
#error "MBEDTLS_PKCS5_C defined, but not all prerequisites"
|
#error "MBEDTLS_PKCS5_C defined, but not all prerequisites"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user