mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Don't run gcrypt self tests.
Seems to be broken on some distros that enable hmac verification of the binary but ship the signature in a separate package. We have our own test cases for the algorithms we care about.
This commit is contained in:
@@ -32,9 +32,6 @@ void TestCryptoHash::initTestCase()
|
|||||||
|
|
||||||
void TestCryptoHash::test()
|
void TestCryptoHash::test()
|
||||||
{
|
{
|
||||||
// TODO: move somewhere else
|
|
||||||
QVERIFY(Crypto::backendSelfTest());
|
|
||||||
|
|
||||||
CryptoHash cryptoHash1(CryptoHash::Sha256);
|
CryptoHash cryptoHash1(CryptoHash::Sha256);
|
||||||
QCOMPARE(cryptoHash1.result(),
|
QCOMPARE(cryptoHash1.result(),
|
||||||
QByteArray::fromHex("e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"));
|
QByteArray::fromHex("e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"));
|
||||||
|
|||||||
Reference in New Issue
Block a user