Gilles Peskine 6b9017045f Don't call psa_crypto_init with uninitialized local contexts (entropy)
psa_crypto_init can fail, and if it does we'll try calling free() on the
local variable, which is uninitialized. This commit fixes memory corruption
when a test fails.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2023-07-26 18:43:39 +02:00
..
2023-07-06 10:16:15 +08:00
2023-05-12 13:58:05 +02:00
2023-03-13 19:20:42 +08:00
2023-03-13 19:20:42 +08:00