From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Define OPENSSL_API_COMPAT
Date: Sat, 24 Jun 2023 11:31:28 +0000
Message-ID: <E1qD1UH-000AhZ-0k@gemulon.postgresql.org> (raw)
Define OPENSSL_API_COMPAT
This avoids deprecation warnings from newer OpenSSL versions (3.0.0 in
particular).
This has been originally applied as 4d3db13 for v14 and newer versions,
but not on the older branches out of caution, and this commit closes the
gap to remove all these deprecation warnings in all the branches still
supported.
OPENSSL_API_COMPAT's value is set based on the oldest version of OpenSSL
supported on a branch: 1.0.1 for Postgres 13 and 0.9.8 for Postgres 11
and 12.
Reviewed-by: Daniel Gustafsson
Discussion: https://postgr.es/m/FEF81714-D479-4512-839B-C769D2605F8A@yesql.se
Discussion: https://postgr.es/m/ZJJmOH+hIOSoesux@paquier.xyz
Backpatch-through: 11
Branch
------
REL_12_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/265c9138da58ae6d37dc5324e51d6fc782fe8923
Author: Peter Eisentraut <peter@eisentraut.org>
Modified Files
--------------
configure | 6 +++++-
configure.in | 3 +++
src/include/pg_config.h.in | 4 ++++
src/include/pg_config.h.win32 | 4 ++++
src/tools/msvc/Solution.pm | 10 +++++++++-
5 files changed, 25 insertions(+), 2 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Define OPENSSL_API_COMPAT
In-Reply-To: <E1qD1UH-000AhZ-0k@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox