rand: trust user supplied entropy when configured without a random source
authorPauli <pauli@openssl.org>
Thu, 27 Apr 2023 01:25:11 +0000 (11:25 +1000)
committerPauli <pauli@openssl.org>
Tue, 2 May 2023 21:51:21 +0000 (07:51 +1000)
commit56547da9d3fa24f54b439497d322b12beb004c80
treed33efcf07dac8a1226b97ae114ee743a93648e95
parent4f373a9773efa63fdb73f3972f13ab78b9342b70
rand: trust user supplied entropy when configured without a random source

Fixes #20841

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/20843)
crypto/rand/rand_lib.c