]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Define OPENSSL_API_COMPAT
authorPeter Eisentraut <peter@eisentraut.org>
Sun, 19 Jul 2020 10:14:42 +0000 (12:14 +0200)
committerMichael Paquier <michael@paquier.xyz>
Sat, 24 Jun 2023 11:29:42 +0000 (20:29 +0900)
commit96f96398d39841044cec5bee8ca08a9aa45d8745
treebf5efd53a361347d8cfdb49b54fd86f3295a918d
parent973c41567f3ff1c3356a85388faa90443a9c010e
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
configure
configure.in
src/include/pg_config.h.in
src/include/pg_config.h.win32
src/tools/msvc/Solution.pm