Re: Useless configure checks for RAND_OpenSSL (HAVE_RAND_OPENSSL)

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-06-26T14:40:19Z
Lists: pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes:
> We have been using RAND_OpenSSL(), a function new as of OpenSSL 1.1.0
> in pgcrypto until fe0a0b5 which has removed the last traces of the
> function in the tree.  We still have a configure check for it and the
> related compilation flag in pg_config.h.in, and both are now useless.

> Any objections to the cleanup done in the attached patch?

+1, fewer configure checks always better.  I don't see any other
references to RAND_OpenSSL either.

			regards, tom lane



Commits

  1. Remove remaining traces of Rand_OpenSSL() from the tree