From: Beat Bolli Date: Mon, 12 Oct 2026 20:30:56 GMT Subject: [PATCH v2 1/2] imap-send: use the recommended TLS_method() Message-ID: <20261012203057.969878-1-dev+git@drbeat.li> In-Reply-To: <20260907211210.2621693-1-dev+git@drbeat.li> SSLv23_method() has been deprecated since OpenSSL 1.1.0, and TLS_method() is the recommended function. Signed-off-by: Beat Bolli --- imap-send.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imap-send.c b/imap-send.c index bf1d2cf74d..9f21705d77 100644 --- a/imap-send.c +++ b/imap-send.c @@ -298,9 +298,9 @@ static int ssl_socket_connect(struct imap_socket *sock, SSL_library_init(); SSL_load_error_strings(); - meth = SSLv23_method(); + meth = TLS_method(); if (!meth) { - ssl_socket_perror("SSLv23_method"); + ssl_socket_perror("TLS_method"); return -1; } -- 2.53.0