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 <[email protected]>
Reviewed-by: Tristan Partin <[email protected]>
Reviewed-by: Andreas Karlsson <[email protected]>
Reviewed-by: Yilin Zhang <[email protected]>
Discussion: https://postgr.es/m/[email protected]

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(-)

Reply via email to