Windows: use srand() instead of srandom()
authorTomas Mraz <tomas@openssl.org>
Wed, 11 Oct 2023 09:20:02 +0000 (11:20 +0200)
committerTomas Mraz <tomas@openssl.org>
Fri, 13 Oct 2023 13:08:11 +0000 (15:08 +0200)
commit77ce9ea496f5bc8fc513082c74c207a3240febb0
tree2a7687f88640ae84b515def19107038158503a48
parent59efa32937ae5e8bcad5ad587ff4aac27810468f
Windows: use srand() instead of srandom()

This is used for memory allocation failure debugging only

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22347)

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