mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:24:00 +02:00
Move fix up a level to bit a little more general
This commit is contained in:
parent
86a8672c5a
commit
fe92cf0c47
2 changed files with 4 additions and 3 deletions
|
@ -729,6 +729,9 @@ void AccountManager::generateNewKeypair(bool isUserKeypair, const QUuid& domainI
|
|||
return;
|
||||
}
|
||||
|
||||
// Ensure openssl/Qt config is set up.
|
||||
QSslConfiguration::defaultConfiguration();
|
||||
|
||||
// make sure we don't already have an outbound keypair generation request
|
||||
if (!_isWaitingForKeypairResponse) {
|
||||
_isWaitingForKeypairResponse = true;
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#include <openssl/rsa.h>
|
||||
#include <openssl/x509.h>
|
||||
|
||||
#include <QSslConfiguration>
|
||||
#include <qdebug.h>
|
||||
|
||||
#include "NetworkLogging.h"
|
||||
|
@ -26,8 +25,7 @@
|
|||
RSAKeypairGenerator::RSAKeypairGenerator(QObject* parent) :
|
||||
QObject(parent)
|
||||
{
|
||||
// Ensure openssl/Qt config is set up.
|
||||
QSslConfiguration::defaultConfiguration();
|
||||
|
||||
}
|
||||
|
||||
void RSAKeypairGenerator::generateKeypair() {
|
||||
|
|
Loading…
Reference in a new issue