author | Vietor Liu <vietor@vxwo.org> | |
Sat, 31 Oct 2009 06:36:03 +0000 (14:36 +0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 31 Oct 2009 21:28:18 +0000 (14:28 -0700) | ||
commit | 1e380ddcd29f1e25bfb58b7068fdafb038c8dd9a | |
tree | bd121fe247d5b9c247dcb217c57d3fcf5cb83bff | tree | snapshot |
parent | d52dc4b10b2f78dc24ea05e88ddc25ee0f46491e | commit | diff |
imap-send.c: fix compiler warnings for OpenSSL 1.0
The openssl/CHANGES file says:
Let the TLSv1_method() etc. functions return a 'const' SSL_METHOD
pointer and make the SSL_METHOD parameter in SSL_CTX_new,
SSL_CTX_set_ssl_version and SSL_set_ssl_method 'const'.
In older versions, unqualified pointers were used, so we unfortunately
cannot unconditionally update the type of the variable we use.
Signed-off-by: Vietor Liu <vietor@vxwo.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The openssl/CHANGES file says:
Let the TLSv1_method() etc. functions return a 'const' SSL_METHOD
pointer and make the SSL_METHOD parameter in SSL_CTX_new,
SSL_CTX_set_ssl_version and SSL_set_ssl_method 'const'.
In older versions, unqualified pointers were used, so we unfortunately
cannot unconditionally update the type of the variable we use.
Signed-off-by: Vietor Liu <vietor@vxwo.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
imap-send.c | diff | blob | history |