1 From fa37195d8378ac958d1f9bd884b47bd73730040e Mon Sep 17 00:00:00 2001
2 From: Rosen Penev <rosenp@gmail.com>
3 Date: Thu, 27 Dec 2018 09:58:07 -0800
4 Subject: [PATCH] imap-send: Fix compilation without deprecated OpenSSL APIs
6 Initialization in OpenSSL has been deprecated in version 1.1. This makes
7 compilation fail when deprecated APIs for OpenSSL are compile-time
10 Signed-off-by: Rosen Penev <rosenp@gmail.com>
13 1 file changed, 2 insertions(+)
17 @@ -279,8 +279,10 @@ static int ssl_socket_connect(struct ima
21 +#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
23 SSL_load_error_strings();
26 meth = SSLv23_method();