mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-04 15:39:53 +00:00
Avoid double definition of MD_LIGHT
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
parent
b33ef74d44
commit
1b5ffc63cc
@ -1230,8 +1230,9 @@ component_test_crypto_full_md_light_only () {
|
|||||||
scripts/config.py unset MBEDTLS_PKCS7_C
|
scripts/config.py unset MBEDTLS_PKCS7_C
|
||||||
# Disable indirect dependencies of MD
|
# Disable indirect dependencies of MD
|
||||||
scripts/config.py unset MBEDTLS_ECDSA_DETERMINISTIC # needs HMAC_DRBG
|
scripts/config.py unset MBEDTLS_ECDSA_DETERMINISTIC # needs HMAC_DRBG
|
||||||
# Enable "light" subset of MD
|
# Note: MD-light is auto-enabled in build_info.h by modules that need it,
|
||||||
make CFLAGS="$ASAN_CFLAGS -DMBEDTLS_MD_LIGHT" LDFLAGS="$ASAN_CFLAGS"
|
# which we haven't disabled, so no need to explicitly enable it.
|
||||||
|
make CFLAGS="$ASAN_CFLAGS" LDFLAGS="$ASAN_CFLAGS"
|
||||||
|
|
||||||
# Make sure we don't have the HMAC functions, but the hashing functions
|
# Make sure we don't have the HMAC functions, but the hashing functions
|
||||||
not grep mbedtls_md_hmac library/md.o
|
not grep mbedtls_md_hmac library/md.o
|
||||||
|
Loading…
x
Reference in New Issue
Block a user