mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 12:04:18 +02:00
Initialize Qt/openssl before RSA keygen to prevent collision
This commit is contained in:
parent
a6cda2166a
commit
86a8672c5a
1 changed files with 3 additions and 1 deletions
|
@ -15,6 +15,7 @@
|
|||
#include <openssl/rsa.h>
|
||||
#include <openssl/x509.h>
|
||||
|
||||
#include <QSslConfiguration>
|
||||
#include <qdebug.h>
|
||||
|
||||
#include "NetworkLogging.h"
|
||||
|
@ -25,7 +26,8 @@
|
|||
RSAKeypairGenerator::RSAKeypairGenerator(QObject* parent) :
|
||||
QObject(parent)
|
||||
{
|
||||
|
||||
// Ensure openssl/Qt config is set up.
|
||||
QSslConfiguration::defaultConfiguration();
|
||||
}
|
||||
|
||||
void RSAKeypairGenerator::generateKeypair() {
|
||||
|
|
Loading…
Reference in a new issue