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()