Skip to content

Commit

Permalink
Merge branch 'vl/maint-openssl-signature-change' into maint
Browse files Browse the repository at this point in the history
* vl/maint-openssl-signature-change:
  imap-send.c: fix compiler warnings for OpenSSL 1.0
  • Loading branch information
Junio C Hamano committed Nov 16, 2009
2 parents 8d324bf + 1e380dd commit 3e606ea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions imap-send.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,12 @@ static int ssl_socket_connect(struct imap_socket *sock, int use_tls_only, int ve
#ifdef NO_OPENSSL
fprintf(stderr, "SSL requested but SSL support not compiled in\n");
return -1;
#else
#if (OPENSSL_VERSION_NUMBER >= 0x10000000L)
const SSL_METHOD *meth;
#else
SSL_METHOD *meth;
#endif
SSL_CTX *ctx;
int ret;

Expand Down

0 comments on commit 3e606ea

Please sign in to comment.