Qt: OPENSSL_VERSION_AT_LEAST was reverted in openssl git because it is in fact broken

This commit is contained in:
Brad Parker 2018-08-26 18:14:08 -04:00
parent 9638005332
commit 32345e37f8

View File

@ -578,7 +578,7 @@ MainWindow::MainWindow(QWidget *parent) :
removeUpdateTempFiles();
#ifdef HAVE_OPENSSL
{
#if OPENSSL_VERSION_AT_LEAST(1,1)
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
const SSL_METHOD *method = TLS_method();
SSL_CTX *ctx = SSL_CTX_new(method);