From: Kazuki Yamaguchi Date: Fri, 8 Apr 2016 16:22:15 +0000 (+0900) Subject: imap-send: avoid deprecated TLSv1_method() X-Git-Tag: v2.8.3~25^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/b51c0d4b4c70b3d2ddac1657b98b17e77af1c404?ds=sidebyside;hp=b51c0d4b4c70b3d2ddac1657b98b17e77af1c404 imap-send: avoid deprecated TLSv1_method() Use SSLv23_method always and disable SSL if needed. TLSv1_method() function is deprecated in OpenSSL 1.1.0 and the compiler emits a warning. SSLv23_method() is also deprecated, but the alternative, TLS_method(), is new in OpenSSL 1.1.0 so requires checking by configure. Stick to SSLv23_method() for now (this is aliased to TLS_method()). Signed-off-by: Kazuki Yamaguchi Signed-off-by: Junio C Hamano ---