Fix the "Out of memory" EVP KDF scrypt test
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 27 Aug 2021 11:11:39 +0000 (13:11 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Sat, 28 Aug 2021 14:45:38 +0000 (16:45 +0200)
commitcce935b23ce2f7942e2ef4368dd93b60e21d3d83
treee5195f31aa259a7940b74ed13e6bbde46bb36bc5
parent20b39175b59b5ae83223bbb9f743c73ae822d681
Fix the "Out of memory" EVP KDF scrypt test

This test did not really execute, since usually
the OPENSSL_malloc(0) will fail and prevent the
execution of the KDF.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16444)
test/evp_test.c
test/recipes/30-test_evp_data/evpkdf_scrypt.txt
test/recipes/30-test_evp_data/evppkey_kdf_scrypt.txt