pgsql: Use RAND_poll() for seeding randomness after fork().

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use RAND_poll() for seeding randomness after fork().
Date: 2020-07-25 21:52:47
Message-ID: E1jzS63-0006R7-11@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use RAND_poll() for seeding randomness after fork().

OpenSSL deprecated RAND_cleanup(), and OpenSSL 1.1.0 made it into a
no-op. Replace it with RAND_poll(), per an OpenSSL community
recommendation. While this has no user-visible consequences under
OpenSSL defaults, it might help under non-default settings.

Daniel Gustafsson, reviewed by David Steele and Michael Paquier.

Discussion: https://postgr.es/m/9B038FA5-23E8-40D0-B932-D515E1D8F66A@yesql.se

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ce4939ff70890fa658a4095b9fe457f8432b2575

Modified Files
--------------
src/backend/postmaster/fork_process.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2020-07-26 07:33:10 pgsql: Tweak behavior of pg_stat_activity.leader_pid
Previous Message Tom Lane 2020-07-25 20:34:48 pgsql: Improve performance of binary COPY FROM through better buffering