From 60729f1fc44f314bb0b72a066450f327b95092bf Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Thu, 14 Sep 2017 17:37:43 +0200 Subject: [PATCH] [cse] Enable OpenSSL for encryption --- src/gui/main.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/gui/main.cpp b/src/gui/main.cpp index ba3947f14f..6d3a2e3350 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -21,6 +21,9 @@ #include #endif +#include +#include + #include "application.h" #include "theme.h" #include "common/utility.h" @@ -47,6 +50,11 @@ int main(int argc, char **argv) { Q_INIT_RESOURCE(client); + /* Initialise the library */ + ERR_load_crypto_strings(); + OpenSSL_add_all_algorithms(); + OPENSSL_config(NULL); + #ifdef Q_OS_WIN // If the font size ratio is set on Windows, we need to // enable the auto pixelRatio in Qt since we don't