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:
Felix Geyer 2015-05-09 17:32:52 +02:00
parent eefe844dcd
commit ae013c2196

View File

@ -32,9 +32,6 @@ void TestCryptoHash::initTestCase()
void TestCryptoHash::test()
{
// TODO: move somewhere else
QVERIFY(Crypto::backendSelfTest());
CryptoHash cryptoHash1(CryptoHash::Sha256);
QCOMPARE(cryptoHash1.result(),
QByteArray::fromHex("e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"));