[openssl/openssl] bb13f8: rand_lib: RAND_poll: Reseed in non-"no-deprecated"...

Mike Kasick noreply at github.com
Tue Jun 13 23:05:20 UTC 2023

  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: bb13f852e9610835b0003e3d26fda0531a3e2b95
  Author: Mike Kasick <mike at kasick.org>
  Date:   2023-06-14 (Wed, 14 Jun 2023)

  Changed paths:
    M crypto/rand/rand_lib.c

  Log Message:
  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 at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21167)

(cherry picked from commit cc343d047c147e0a395fb101efbe9dedf458aa17)

More information about the openssl-commits mailing list