Check dependencies of MBEDTLS_MEMORY_BACKTRACE in check_config.h

This commit is contained in:
Hanno Becker 2019-02-26 13:50:21 +00:00 committed by Andrzej Kurek
parent 04a049bda1
commit e29e7eb36c

View File

@ -281,6 +281,10 @@
#error "MBEDTLS_MEMORY_BUFFER_ALLOC_C defined, but not all prerequisites"
#endif
#if defined(MBEDTLS_MEMORY_BACKTRACE) && !defined(MBEDTLS_MEMORY_BUFFER_ALLOC_C)
#error "MBEDTLS_MEMORY_BACKTRACE defined, but not all prerequesites"
#endif
#if defined(MBEDTLS_PADLOCK_C) && !defined(MBEDTLS_HAVE_ASM)
#error "MBEDTLS_PADLOCK_C defined, but not all prerequisites"
#endif