Improve Malloc Failure Test
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 18 Sep 2023 06:16:01 +0000 (08:16 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 11 Oct 2023 07:01:41 +0000 (09:01 +0200)
commitaff2b761ba35778946ed521ac65ff4cb094c317f
treed97f75c3dd291315ae8876512ae870af5413b515
parent3ecb534946e2d940fc8a145b06f976744f5dc234
Improve Malloc Failure Test

Allow 2 digits after the comma in percentage in OPENSSL_MALLOC_FAILURES.
Add OPENSSL_MALLOC_SEED to allow for some randomization.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22127)

(cherry picked from commit 3df5736cf303d2c69654ba1c295a9772b738608e)
crypto/mem.c