diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-04-09 01:22:15 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-04-08 11:46:33 -0700 |
commit | b51c0d4b4c70b3d2ddac1657b98b17e77af1c404 (patch) | |
tree | 99aa216796500c95536db225a95d119aa6b38a95 /strbuf.c | |
parent | imap-send: check NULL return of SSL_CTX_new() (diff) | |
download | tgif-b51c0d4b4c70b3d2ddac1657b98b17e77af1c404.tar.xz |
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 <k@rhe.jp>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'strbuf.c')
0 files changed, 0 insertions, 0 deletions