mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-27 23:17:13 +03:00
[cse] Enable OpenSSL for encryption
This commit is contained in:
parent
418401a33c
commit
60729f1fc4
1 changed files with 8 additions and 0 deletions
|
@ -21,6 +21,9 @@
|
||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <openssl/conf.h>
|
||||||
|
#include <openssl/err.h>
|
||||||
|
|
||||||
#include "application.h"
|
#include "application.h"
|
||||||
#include "theme.h"
|
#include "theme.h"
|
||||||
#include "common/utility.h"
|
#include "common/utility.h"
|
||||||
|
@ -47,6 +50,11 @@ int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
Q_INIT_RESOURCE(client);
|
Q_INIT_RESOURCE(client);
|
||||||
|
|
||||||
|
/* Initialise the library */
|
||||||
|
ERR_load_crypto_strings();
|
||||||
|
OpenSSL_add_all_algorithms();
|
||||||
|
OPENSSL_config(NULL);
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
// If the font size ratio is set on Windows, we need to
|
// If the font size ratio is set on Windows, we need to
|
||||||
// enable the auto pixelRatio in Qt since we don't
|
// enable the auto pixelRatio in Qt since we don't
|
||||||
|
|
Loading…
Reference in a new issue