pgsql: Remove support for OpenSSL 1.0.1

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove support for OpenSSL 1.0.1
Date: 2023-07-03 04:22:08
Message-ID: E1qGB4i-001dmT-6F@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove support for OpenSSL 1.0.1

Here are some notes about this change:
- As X509_get_signature_nid() should always exist (OpenSSL and
LibreSSL), hence HAVE_X509_GET_SIGNATURE_NID is now gone.
- OPENSSL_API_COMPAT is bumped to 0x10002000L.
- One comment related to 1.0.1e introduced by 74242c2 is removed.

Upstream OpenSSL still provides long-term support for 1.0.2 in a closed
fashion, so removing it is out of scope for a few years, at least.

Reviewed-by: Jacob Champion, Daniel Gustafsson
Discussion: https://postgr.es/m/ZG3JNursG69dz1lr@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8e278b65766446f29085fe686723961c4b216e6f

Modified Files
--------------
configure | 16 ++++++-------
configure.ac | 8 +++----
doc/src/sgml/installation.sgml | 2 +-
meson.build | 7 +++---
src/backend/libpq/auth-scram.c | 20 +++++++---------
src/backend/libpq/be-secure-openssl.c | 4 ----
src/include/libpq/libpq-be.h | 6 -----
src/include/pg_config.h.in | 3 ---
src/interfaces/libpq/fe-auth-scram.c | 8 +++----
src/interfaces/libpq/fe-auth.c | 2 +-
src/interfaces/libpq/fe-secure-openssl.c | 4 ----
src/interfaces/libpq/libpq-int.h | 6 -----
src/test/ssl/t/002_scram.pl | 41 ++++++--------------------------
src/tools/msvc/Solution.pm | 10 +-------
14 files changed, 37 insertions(+), 100 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2023-07-03 05:25:38 pgsql: Change type of pg_statistic_ext.stxstattarget
Previous Message Noah Misch 2023-07-03 03:57:31 Re: pgsql: Fix search_path to a safe value during maintenance operations.