pgsql: ssl: Use TLS_method instead of deprecated SSLv23_method
ssl: Use TLS_method instead of deprecated SSLv23_method
The SSLv23_method() function has been an alias for TLS_method since
2015 (OpenSSL commit 32ec41539b5b) so we should use the appropriate
name to avoid confusion.
Author: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Tristan Partin <tristan@partin.io>
Reviewed-by: Andreas Karlsson <andreas@proxel.se>
Reviewed-by: Yilin Zhang <jiezhilove@126.com>
Discussion: /messages/by-id/68B9881D-DAA8-467D-A251-C96E98E57BA0@yesql.se
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/05d6b5afdf0fbd0b114534081f05f072584bec8c
Modified Files
--------------
src/backend/libpq/be-secure-openssl.c | 9 ++-------
src/interfaces/libpq/fe-secure-openssl.c | 2 +-
2 files changed, 3 insertions(+), 8 deletions(-)