[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498
Maximiliano Curia
maxy at moszumanska.debian.org
Fri Oct 14 14:27:54 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=a0ff366
The following commit has been merged in the master branch:
commit a0ff36625d4f9fc4259a8fab8d0da11f30f67ac6
Author: Àlex Fiestas <afiestas at kde.org>
Date: Fri Sep 12 23:32:19 2014 +0200
Make sure we have initialized QCA before using it
QCA::isSupported uses a private global object that is 0 if
QCA::Initializer is not instanciated.
---
tests/networkpackagetests.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/networkpackagetests.cpp b/tests/networkpackagetests.cpp
index a1d3f51..6fd9de8 100644
--- a/tests/networkpackagetests.cpp
+++ b/tests/networkpackagetests.cpp
@@ -91,6 +91,7 @@ void NetworkPackageTests::networkPackageIdentityTest()
void NetworkPackageTests::networkPackageEncryptionTest()
{
+ QCA::Initializer init;
if(!QCA::isSupported("rsa")) {
QFAIL("RSA isn't supported by your QCA. ");
return;
@@ -105,7 +106,6 @@ void NetworkPackageTests::networkPackageEncryptionTest()
NetworkPackage decrypted("");
- QCA::Initializer init;
QCA::PrivateKey privateKey = QCA::KeyGenerator().createRSA(2048);
QVERIFY(!privateKey.isNull());
QCA::PublicKey publicKey = privateKey.toPublicKey();
--
kdeconnect packaging
More information about the pkg-kde-commits
mailing list