From 86a8672c5a7a230ece2a79341299cb2dab186334 Mon Sep 17 00:00:00 2001 From: Simon Walton Date: Thu, 17 May 2018 10:17:22 -0700 Subject: [PATCH] Initialize Qt/openssl before RSA keygen to prevent collision --- libraries/networking/src/RSAKeypairGenerator.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/networking/src/RSAKeypairGenerator.cpp b/libraries/networking/src/RSAKeypairGenerator.cpp index 8ca8b81ea3..dcd4e7fd3c 100644 --- a/libraries/networking/src/RSAKeypairGenerator.cpp +++ b/libraries/networking/src/RSAKeypairGenerator.cpp @@ -15,6 +15,7 @@ #include #include +#include #include #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() {