pgsql: Define OPENSSL_API_COMPAT

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Define OPENSSL_API_COMPAT
Дата
Msg-id E1qD1UH-000AhY-01@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8aa9a26236aa424e99f2c146f7ba3c5c9dcf0b19
Author: Peter Eisentraut <peter@eisentraut.org>

Modified Files
--------------
configure                  |  6 +++++-
configure.in               |  3 +++
src/include/pg_config.h.in |  4 ++++
src/tools/msvc/Solution.pm | 10 +++++++++-
4 files changed, 21 insertions(+), 2 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: doc: rename "decades" to be more generic
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Check for interrupts and stack overflow in TParserGet().