]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: aes_encrypt_init() and aes_decrypt_init() to use TEST_FAIL
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 14 Jan 2016 17:44:47 +0000 (19:44 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 14 Jan 2016 17:44:47 +0000 (19:44 +0200)
commit465196ebd281eb8466a0a93efc48c508aba296a4
treeeb704f8411f3e6cc19f2715e74128b3a6cfbeee7
parent1eb87ae48d829b77e805de9ba71f958b53930c88
tests: aes_encrypt_init() and aes_decrypt_init() to use TEST_FAIL

Now the these functions cannot be made to fail by forcing the memory
allocation fail since the OpenSSL-internal version is used, add
TEST_FAIL check to allow OOM test cases to be converted to use the
TEST_FAIL mechanism without reducing coverage.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/crypto/crypto_openssl.c