Remove support for OpenSSL 1.0.1
authorMichael Paquier <[email protected]>
Mon, 3 Jul 2023 04:20:27 +0000 (13:20 +0900)
committerMichael Paquier <[email protected]>
Mon, 3 Jul 2023 04:20:27 +0000 (13:20 +0900)
commit8e278b65766446f29085fe686723961c4b216e6f
treefb463f3b18f1cf183c50954c04ab60b91f880290
parent2aeaf80e578ed48af88d54caf2ffcf7ca62617e8
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/[email protected]
14 files changed:
configure
configure.ac
doc/src/sgml/installation.sgml
meson.build
src/backend/libpq/auth-scram.c
src/backend/libpq/be-secure-openssl.c
src/include/libpq/libpq-be.h
src/include/pg_config.h.in
src/interfaces/libpq/fe-auth-scram.c
src/interfaces/libpq/fe-auth.c
src/interfaces/libpq/fe-secure-openssl.c
src/interfaces/libpq/libpq-int.h
src/test/ssl/t/002_scram.pl
src/tools/msvc/Solution.pm