diff options
author | Janek Bevendorff <janek@jbev.net> | 2017-02-24 23:00:48 +0300 |
---|---|---|
committer | Janek Bevendorff <janek@jbev.net> | 2017-02-24 23:06:23 +0300 |
commit | a001553c5ecdd7540109c02ce7b0c4b7bddb1314 (patch) | |
tree | 2e1eb9e72ff1a03ab71c588189488ea04d86f62e /tests/TestYkChallengeResponseKey.cpp | |
parent | 9a94c6d85e9d3c3dc9b3ef0acb7715c2b6a6129d (diff) |
Fix warnings about Crypto already having been initialized
Diffstat (limited to 'tests/TestYkChallengeResponseKey.cpp')
-rw-r--r-- | tests/TestYkChallengeResponseKey.cpp | 6 |
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() |