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:
Diffstat (limited to 'tests/TestYkChallengeResponseKey.cpp')
-rw-r--r--tests/TestYkChallengeResponseKey.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/TestYkChallengeResponseKey.cpp b/tests/TestYkChallengeResponseKey.cpp
index 046c06660..40eda3bf9 100644
--- a/tests/TestYkChallengeResponseKey.cpp
+++ b/tests/TestYkChallengeResponseKey.cpp
@@ -30,6 +30,9 @@ void TestYubiKeyChalResp::initTestCase()
{
m_detected = 0;
m_key = NULL;
+
+ // crypto subsystem needs to be initialized for YubiKey testing
+ QVERIFY(Crypto::init());
}
void TestYubiKeyChalResp::cleanupTestCase()
@@ -45,9 +48,6 @@ void TestYubiKeyChalResp::init()
if (!result) {
QSKIP("Unable to connect to YubiKey", SkipAll);
}
-
- // crypto subsystem needs to be initialized for YubiKey testing
- QVERIFY(Crypto::init());
}
void TestYubiKeyChalResp::detectDevices()