mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Qt: openssl 1.1.0 broke their ABI
This commit is contained in:
parent
1d6a69d198
commit
12f1d003bb
@ -578,11 +578,17 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
removeUpdateTempFiles();
|
removeUpdateTempFiles();
|
||||||
#ifdef HAVE_OPENSSL
|
#ifdef HAVE_OPENSSL
|
||||||
{
|
{
|
||||||
const SSL_METHOD* method = TLSv1_method();
|
#if OPENSSL_VERSION_AT_LEAST(1,1)
|
||||||
|
const SSL_METHOD *method = TLS_method();
|
||||||
|
SSL_CTX *ctx = SSL_CTX_new(method);
|
||||||
|
|
||||||
|
if (ctx)
|
||||||
|
SSL_CTX_free(ctx);
|
||||||
|
#else
|
||||||
|
const SSL_METHOD *method = TLSv1_method();
|
||||||
|
RARCH_LOG("[Qt]: TLS supports %d ciphers.\n", method->num_ciphers());
|
||||||
|
#endif
|
||||||
RARCH_LOG("[Qt]: Using %s\n", OPENSSL_VERSION_TEXT);
|
RARCH_LOG("[Qt]: Using %s\n", OPENSSL_VERSION_TEXT);
|
||||||
|
|
||||||
RARCH_LOG("[Qt]: TLSv1 supports %d ciphers.\n", method->num_ciphers());
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user