From 7a64ed10f6778ffb7933afe41a33fe6c27d00d99 Mon Sep 17 00:00:00 2001 From: Simon Walton Date: Wed, 10 Jul 2019 15:08:51 -0700 Subject: [PATCH] Verbose RSA-keypair logging --- libraries/networking/src/RSAKeypairGenerator.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/networking/src/RSAKeypairGenerator.cpp b/libraries/networking/src/RSAKeypairGenerator.cpp index e83615e3df..df04297383 100644 --- a/libraries/networking/src/RSAKeypairGenerator.cpp +++ b/libraries/networking/src/RSAKeypairGenerator.cpp @@ -28,6 +28,7 @@ RSAKeypairGenerator::RSAKeypairGenerator(QObject* parent) : } void RSAKeypairGenerator::run() { + qCDebug(networking) << "KEYPAIR: thread started"; generateKeypair(); } @@ -53,6 +54,7 @@ void RSAKeypairGenerator::generateKeypair() { BN_free(exponent); return; } + qCDebug(networking) << "KEYPAIR: OpenSSL generated a" << RSA_KEY_BITS << "bit RSA key-pair"; // we don't need the BIGNUM anymore so clean that up BN_free(exponent); @@ -95,5 +97,6 @@ void RSAKeypairGenerator::generateKeypair() { OPENSSL_free(publicKeyDER); OPENSSL_free(privateKeyDER); + qCDebug(networking) << "KEYPAIR: emitting generated signal and finishing"; emit generatedKeypair(_publicKey, _privateKey); }