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:
-rw-r--r--tests/TestYkChallengeResponseKey.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/TestYkChallengeResponseKey.cpp b/tests/TestYkChallengeResponseKey.cpp
index 91fba83cb..bd58ac018 100644
--- a/tests/TestYkChallengeResponseKey.cpp
+++ b/tests/TestYkChallengeResponseKey.cpp
@@ -21,6 +21,7 @@
#include <QTest>
#include <QtConcurrentRun>
+#include "crypto/Crypto.h"
#include "keys/YkChallengeResponseKey.h"
QTEST_GUILESS_MAIN(TestYubiKeyChalResp)
@@ -44,6 +45,9 @@ void TestYubiKeyChalResp::init()
if (!result) {
QSKIP("Unable to connect to YubiKey", SkipAll);
}
+
+ /* Crypto subsystem needs to be initalized for YubiKey testing */
+ QVERIFY(Crypto::init());
}
void TestYubiKeyChalResp::detectDevices()