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:
authorToni Spets <toni.spets@iki.fi>2017-11-25 12:31:31 +0300
committerToni Spets <toni.spets@iki.fi>2017-11-25 12:32:13 +0300
commita0bfa710beaeff9dea963d858e250bc6a9a84cfb (patch)
treec6eae359e4fcf97bd904012912d041880167cb62 /tests/TestOpenSSHKey.cpp
parentbff80dfc707cd41b80c75a3cb2ef2653341f0a1a (diff)
Add missing crypto init to OpenSSHKey test
Diffstat (limited to 'tests/TestOpenSSHKey.cpp')
-rw-r--r--tests/TestOpenSSHKey.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/TestOpenSSHKey.cpp b/tests/TestOpenSSHKey.cpp
index 52cf4dbf5..949c708cf 100644
--- a/tests/TestOpenSSHKey.cpp
+++ b/tests/TestOpenSSHKey.cpp
@@ -16,11 +16,17 @@
*/
#include "TestOpenSSHKey.h"
+#include "crypto/Crypto.h"
#include "sshagent/OpenSSHKey.h"
#include <QTest>
QTEST_GUILESS_MAIN(TestOpenSSHKey)
+void TestOpenSSHKey::initTestCase()
+{
+ QVERIFY(Crypto::init());
+}
+
void TestOpenSSHKey::testParse()
{
// mixed line endings and missing ones are intentional, we only require 3 lines total