pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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-000Ahc-18@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_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/96f96398d39841044cec5bee8ca08a9aa45d8745
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(-)



view thread (4+ messages)  latest in thread

Message-ID: <E1qD1UH-000Ahc-18@gemulon.postgresql.org>
Permalink:  ../E1qD1UH-000Ahc-18@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1qD1UH-000Ahc-18@gemulon.postgresql.org

 · 

reply

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-000Ahc-18@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