From: Vietor Liu Date: Sat, 31 Oct 2009 06:36:03 +0000 (+0800) Subject: imap-send.c: fix compiler warnings for OpenSSL 1.0 X-Git-Tag: v1.6.5.3~8^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/1e380ddcd29f1e25bfb58b7068fdafb038c8dd9a?hp=1e380ddcd29f1e25bfb58b7068fdafb038c8dd9a 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 Signed-off-by: Junio C Hamano ---