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 aeb5a4af46
commit af46c5f9eb

View file

@ -303,6 +303,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