Fixed API for old openssl versions < 1.0.0
This commit is contained in:
parent
b6b0f57a88
commit
f4568295e9
@ -589,7 +589,11 @@ out_free:
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if OPENSSL_VERSION_NUMBER >= 0x010000000L
|
||||||
static BOOL tls_prepare(rdpTls* tls, BIO* underlying, const SSL_METHOD* method, int options, BOOL clientMode)
|
static BOOL tls_prepare(rdpTls* tls, BIO* underlying, const SSL_METHOD* method, int options, BOOL clientMode)
|
||||||
|
#else
|
||||||
|
static BOOL tls_prepare(rdpTls* tls, BIO* underlying, SSL_METHOD* method, int options, BOOL clientMode)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
rdpSettings* settings = tls->settings;
|
rdpSettings* settings = tls->settings;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user