Re: OpenSSL 3.0.0 compatibility

Peter Eisentraut <peter.eisentraut@2ndquadrant.com>

From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Daniel Gustafsson <daniel@yesql.se>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-06-01T08:44:17Z
Lists: pgsql-hackers
On 2020-05-31 04:52, Michael Paquier wrote:
> 593d4e4 claims that we only support OpenSSL >= 0.9.8, meaning that
> down to PG 10 we have this requirement, and that PG 9.6 and 9.5 should
> be able to work with OpenSSL 0.9.7 and 0.9.6, but little effort has
> been put in testing these.

Then we can stick a OPENSSL_API_COMPAT=908 into at least PG10, 11, and 
12, and probably also into PG9.5 and 9.6 without harm.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



Commits

  1. Define OPENSSL_API_COMPAT

  2. Add alternative output for OpenSSL 3 without legacy loaded

  3. Disable OpenSSL EVP digest padding in pgcrypto

  4. pgcrypto: Check for error return of px_cipher_decrypt()

  5. OpenSSL 3.0.0 compatibility in tests

  6. Make ssl certificate for ssl_passphrase_callback test via Makefile

  7. Provide a TLS init hook