mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
[cse] Enable OpenSSL for encryption
This commit is contained in:
parent
418401a33c
commit
60729f1fc4
@ -21,6 +21,9 @@
|
||||
#include <sys/resource.h>
|
||||
#endif
|
||||
|
||||
#include <openssl/conf.h>
|
||||
#include <openssl/err.h>
|
||||
|
||||
#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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user