mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Qt: only use openssl if we have it
This commit is contained in:
parent
7731db9ed8
commit
49e5fcd0cc
@ -73,8 +73,10 @@ extern "C" {
|
||||
#include <file/archive_file.h>
|
||||
#include <streams/file_stream.h>
|
||||
#include <math.h>
|
||||
#ifdef HAVE_OPENSSL
|
||||
#include <openssl/ssl.h>
|
||||
#include <openssl/opensslv.h>
|
||||
#endif
|
||||
}
|
||||
|
||||
#include "../../../AUTHORS.h"
|
||||
@ -574,7 +576,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
#endif
|
||||
|
||||
removeUpdateTempFiles();
|
||||
|
||||
#ifdef HAVE_OPENSSL
|
||||
{
|
||||
const SSL_METHOD* method = TLSv1_method();
|
||||
|
||||
@ -582,6 +584,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
|
||||
RARCH_LOG("[Qt]: TLSv1 supports %d ciphers.\n", method->num_ciphers());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
MainWindow::~MainWindow()
|
||||
|
Loading…
x
Reference in New Issue
Block a user