Merge branch 'vl/maint-openssl-signature-change' into maint
* vl/maint-openssl-signature-change: imap-send.c: fix compiler warnings for OpenSSL 1.0
This commit is contained in:
commit
3e606ea7ca
@ -272,8 +272,12 @@ static int ssl_socket_connect(struct imap_socket *sock, int use_tls_only, int ve
|
|||||||
#ifdef NO_OPENSSL
|
#ifdef NO_OPENSSL
|
||||||
fprintf(stderr, "SSL requested but SSL support not compiled in\n");
|
fprintf(stderr, "SSL requested but SSL support not compiled in\n");
|
||||||
return -1;
|
return -1;
|
||||||
|
#else
|
||||||
|
#if (OPENSSL_VERSION_NUMBER >= 0x10000000L)
|
||||||
|
const SSL_METHOD *meth;
|
||||||
#else
|
#else
|
||||||
SSL_METHOD *meth;
|
SSL_METHOD *meth;
|
||||||
|
#endif
|
||||||
SSL_CTX *ctx;
|
SSL_CTX *ctx;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user