Remove support for OpenSSL older than 1.1.0

OpenSSL 1.0.2 has been EOL from the upstream OpenSSL project for
some time, and is no longer the default OpenSSL version with any
vendor which package PostgreSQL. By retiring support for OpenSSL
1.0.2 we can remove a lot of no longer required complexity for
managing state within libcrypto which is now handled by OpenSSL.

Reviewed-by: Jacob Champion <[email protected]>
Reviewed-by: Peter Eisentraut <[email protected]>
Reviewed-by: Michael Paquier <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Discussion: 
https://postgr.es/m/CA+hUKGKh7QrYzu=8yweujvxtmvm_cnwh1l_tlwcbzmwbi1x...@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a70e01d4306fdbcd5fbedb4ca97e5c21c995da60

Modified Files
--------------
configure                                |  31 ++--
configure.ac                             |  12 +-
contrib/pgcrypto/openssl.c               |   8 -
doc/src/sgml/installation.sgml           |   2 +-
doc/src/sgml/libpq.sgml                  |  36 ++---
meson.build                              |  23 +--
src/backend/libpq/be-secure-openssl.c    |  24 +--
src/common/Makefile                      |   3 +-
src/common/hmac_openssl.c                |  20 +--
src/common/meson.build                   |   1 -
src/common/protocol_openssl.c            | 117 ---------------
src/include/common/openssl.h             |  14 +-
src/include/pg_config.h.in               |  15 --
src/interfaces/libpq/fe-connect.c        |  18 ---
src/interfaces/libpq/fe-secure-openssl.c | 246 -------------------------------
src/interfaces/libpq/fe-secure.c         |  35 ++---
src/interfaces/libpq/libpq-int.h         |  23 ---
src/test/ssl/t/001_ssltests.pl           |   3 +-
18 files changed, 55 insertions(+), 576 deletions(-)

Reply via email to