Remove optimization for RAND_poll() failing.
authorNoah Misch <noah@leadboat.com>
Sat, 25 Jul 2020 21:50:59 +0000 (14:50 -0700)
committerNoah Misch <noah@leadboat.com>
Sat, 25 Jul 2020 21:50:59 +0000 (14:50 -0700)
commit15e441972276e95639f8c3d9f5f66c2318fe9348
tree7543302d33ef226e84769414c7c9bbb2e82cb91a
parentce4939ff70890fa658a4095b9fe457f8432b2575
Remove optimization for RAND_poll() failing.

The loop to generate seed data will exit on RAND_status(), so we don't
need to handle the case of RAND_poll() failing separately.  Failures
here are rare, so this a code cleanup, essentially.

Daniel Gustafsson, reviewed by David Steele and Michael Paquier.

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