mirror of https://gitee.com/bigwinds/arangodb
fix openssl 1.3 usage
This commit is contained in:
parent
fa7de56cf8
commit
aabb307295
|
@ -240,7 +240,7 @@ void SslClientConnection::init(uint64_t sslProtocol) {
|
||||||
// openssl version number format is
|
// openssl version number format is
|
||||||
// MNNFFPPS: major minor fix patch status
|
// MNNFFPPS: major minor fix patch status
|
||||||
#if OPENSSL_VERSION_NUMBER >= 0x10101000L
|
#if OPENSSL_VERSION_NUMBER >= 0x10101000L
|
||||||
meth = TLSv1_3_method();
|
meth = TLS_client_method();
|
||||||
break;
|
break;
|
||||||
#else
|
#else
|
||||||
// no TLS 1.3 support
|
// no TLS 1.3 support
|
||||||
|
|
Loading…
Reference in New Issue