mirror of
https://github.com/moparisthebest/imapfilter
synced 2024-12-21 23:28:49 -05:00
Set variable's type based on OpenSSL version.
This commit is contained in:
parent
4e03494df6
commit
0d77e9d9a8
@ -85,7 +85,11 @@ open_secure_connection(session *ssn)
|
||||
{
|
||||
int r, e;
|
||||
SSL_CTX *ctx;
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x1000000fL
|
||||
const SSL_METHOD *method;
|
||||
#else
|
||||
SSL_METHOD *method;
|
||||
#endif
|
||||
|
||||
method = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user