mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 13:25:52 +03:00
Removed explicit initialization; Fixed RAND_bytes not found
This commit is contained in:
parent
82cbee3f9d
commit
bb2d31a2bd
2 changed files with 2 additions and 7 deletions
|
@ -21,9 +21,6 @@
|
|||
#include <sys/resource.h>
|
||||
#endif
|
||||
|
||||
#include <openssl/conf.h>
|
||||
#include <openssl/err.h>
|
||||
|
||||
#include "application.h"
|
||||
#include "theme.h"
|
||||
#include "common/utility.h"
|
||||
|
@ -51,10 +48,7 @@ int main(int argc, char **argv)
|
|||
{
|
||||
Q_INIT_RESOURCE(client);
|
||||
|
||||
/* Initialise the library */
|
||||
ERR_load_crypto_strings();
|
||||
OpenSSL_add_all_algorithms();
|
||||
OPENSSL_config(NULL);
|
||||
// OpenSSL 1.1.0: No explicit initialisation or de-initialisation is necessary.
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
// If the font size ratio is set on Windows, we need to
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include <openssl/pem.h>
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/engine.h>
|
||||
#include <openssl/rand.h>
|
||||
|
||||
|
||||
#include "clientsideencryption.h"
|
||||
|
|
Loading…
Reference in a new issue