pgsql: ssl: Use TLS_method instead of deprecated SSLv23_method

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: ssl: Use TLS_method instead of deprecated SSLv23_method
Date: 2026-07-29 19:27:35
Message-ID: E1wp9wF-00000000qIs-1Ti9@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)yesql(dot)se>
Reviewed-by: Tristan Partin <tristan(at)partin(dot)io>
Reviewed-by: Andreas Karlsson <andreas(at)proxel(dot)se>
Reviewed-by: Yilin Zhang <jiezhilove(at)126(dot)com>
Discussion: https://postgr.es/m/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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2026-07-29 19:55:53 pgsql: doc: Add a note that refint will be removed in v20
Previous Message Bruce Momjian 2026-07-29 18:20:56 pgsql: doc: remove added space within synopsis replaceable tags