Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Geyer <debfx@fobos.de>2011-11-12 23:00:19 +0400
committerFelix Geyer <debfx@fobos.de>2011-11-12 23:00:19 +0400
commitac60f7ce707fdf406173ee68dac37b6465b37b0b (patch)
tree8d3924cfd07c9ded41de776acced7b5875d3bf27 /tests/TestKeePass2RandomStream.cpp
parent9b46225937b1ec52a3c805abd46b139a87e1c550 (diff)
Add missing crypto initalization in tests.
Diffstat (limited to 'tests/TestKeePass2RandomStream.cpp')
-rw-r--r--tests/TestKeePass2RandomStream.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/TestKeePass2RandomStream.cpp b/tests/TestKeePass2RandomStream.cpp
index 58a246642..af71df863 100644
--- a/tests/TestKeePass2RandomStream.cpp
+++ b/tests/TestKeePass2RandomStream.cpp
@@ -17,12 +17,18 @@
#include "TestKeePass2RandomStream.h"
+#include <QtTest/QTest>
+
+#include "crypto/Crypto.h"
#include "crypto/CryptoHash.h"
#include "crypto/SymmetricCipher.h"
#include "format/KeePass2.h"
#include "format/KeePass2RandomStream.h"
-#include <QtTest/QTest>
+void TestKeePass2RandomStream::initTestCase()
+{
+ Crypto::init();
+}
void TestKeePass2RandomStream::test()
{