Merge remote-tracking branch 'public/pr/1560' into development-proposed

* public/pr/1560:
  Warn if using a memory sanitizer on AESNI
This commit is contained in:
Manuel Pégourié-Gonnard 2018-04-11 13:06:30 +02:00
commit 4ca9a45756

View file

@ -32,6 +32,12 @@
#if defined(MBEDTLS_AESNI_C)
#if defined(__has_feature)
#if __has_feature(memory_sanitizer)
#warning "MBEDTLS_AESNI_C is known to cause spurious error reports with some memory sanitizers as they do not understand the assembly code."
#endif
#endif
#include "mbedtls/aesni.h"
#include <string.h>