Merge pull request #3401 from mpg/fix-hmac-drbg-deps-2.16

[Backport 2.16] Fix undeclared dependencies on HMAC_DRBG
This commit is contained in:
Manuel Pégourié-Gonnard 2020-06-05 11:50:11 +02:00 committed by GitHub
commit 3a562d75fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -798,7 +798,23 @@ component_test_no_ctr_drbg () {
msg "test: no CTR_DRBG"
make test
# no SSL tests as they all depend on CTR_DRBG so far
# no ssl-opt.sh/compat.sh as they all depend on CTR_DRBG so far
}
component_test_no_hmac_drbg () {
msg "build: Full minus HMAC_DRBG"
scripts/config.pl full
scripts/config.pl unset MBEDTLS_HMAC_DRBG_C
scripts/config.pl unset MBEDTLS_ECDSA_DETERMINISTIC # requires HMAC_DRBG
CC=gcc cmake -D CMAKE_BUILD_TYPE:String=Asan .
make
msg "test: no HMAC_DRBG"
make test
# No ssl-opt.sh/compat.sh as they never use HMAC_DRBG so far,
# so there's little value in running those lengthy tests here.
}
component_test_small_ssl_out_content_len () {