From 069de60efc094fc51d751c134057dc6881029ef8 Mon Sep 17 00:00:00 2001 From: LibretroAdmin Date: Tue, 25 Oct 2022 15:42:29 +0200 Subject: [PATCH] (Qt) Remove SSL/TLS check at startup --- ui/drivers/ui_qt.cpp | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/ui/drivers/ui_qt.cpp b/ui/drivers/ui_qt.cpp index 406dc31a99..d802c015fb 100644 --- a/ui/drivers/ui_qt.cpp +++ b/ui/drivers/ui_qt.cpp @@ -64,11 +64,6 @@ extern "C" { #include #endif -#ifdef HAVE_OPENSSL -#include -#include -#endif - #ifdef HAVE_CONFIG_H #include "../../config.h" #endif @@ -1595,22 +1590,6 @@ MainWindow::MainWindow(QWidget *parent) : #if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)) resizeDocks(QList() << m_searchDock, QList() << 1, Qt::Vertical); #endif - -#ifdef HAVE_OPENSSL - { -#if OPENSSL_VERSION_NUMBER >= 0x10100000L - 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); - } -#endif } MainWindow::~MainWindow()