mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Fix warnings about Crypto already having been initialized
This commit is contained in:
@@ -30,6 +30,9 @@ void TestYubiKeyChalResp::initTestCase()
|
|||||||
{
|
{
|
||||||
m_detected = 0;
|
m_detected = 0;
|
||||||
m_key = NULL;
|
m_key = NULL;
|
||||||
|
|
||||||
|
// crypto subsystem needs to be initialized for YubiKey testing
|
||||||
|
QVERIFY(Crypto::init());
|
||||||
}
|
}
|
||||||
|
|
||||||
void TestYubiKeyChalResp::cleanupTestCase()
|
void TestYubiKeyChalResp::cleanupTestCase()
|
||||||
@@ -45,9 +48,6 @@ void TestYubiKeyChalResp::init()
|
|||||||
if (!result) {
|
if (!result) {
|
||||||
QSKIP("Unable to connect to YubiKey", SkipAll);
|
QSKIP("Unable to connect to YubiKey", SkipAll);
|
||||||
}
|
}
|
||||||
|
|
||||||
// crypto subsystem needs to be initialized for YubiKey testing
|
|
||||||
QVERIFY(Crypto::init());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void TestYubiKeyChalResp::detectDevices()
|
void TestYubiKeyChalResp::detectDevices()
|
||||||
|
|||||||
Reference in New Issue
Block a user