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;
|
int r, e;
|
||||||
SSL_CTX *ctx;
|
SSL_CTX *ctx;
|
||||||
|
#if OPENSSL_VERSION_NUMBER >= 0x1000000fL
|
||||||
const SSL_METHOD *method;
|
const SSL_METHOD *method;
|
||||||
|
#else
|
||||||
|
SSL_METHOD *method;
|
||||||
|
#endif
|
||||||
|
|
||||||
method = NULL;
|
method = NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue