rand_lib: RAND_poll: Reseed in non-"no-deprecated" builds.
authorMike Kasick <mike@kasick.org>
Fri, 9 Jun 2023 17:40:16 +0000 (13:40 -0400)
committerPauli <pauli@openssl.org>
Tue, 13 Jun 2023 23:03:14 +0000 (09:03 +1000)
commitcc343d047c147e0a395fb101efbe9dedf458aa17
tree9eae0a1e72983221268c919dc243e3f126afb0f3
parent050dddb06162a8016c004317273f8f01b72ac20a
rand_lib: RAND_poll: Reseed in non-"no-deprecated" builds.

In a non-"no-deprecated" libcrypto build with a default configuration,
RAND_get_rand_method() == RAND_OpenSSL() and so needs to fall through to
the RAND_seed call (used in "no-deprecated" builds) to perform a reseed.

CLA: trivial

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