1
0
Fork 0

fix openssl 1.3 usage

This commit is contained in:
Jan Christoph Uhde 2019-01-10 13:39:01 +01:00 committed by jsteemann
parent fa7de56cf8
commit aabb307295
1 changed files with 1 additions and 1 deletions

View File

@ -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