Do some basic self-checks when initializing the crypto backend.

This commit is contained in:
Felix Geyer 2014-06-15 11:17:40 +02:00
parent b417bf9187
commit 0d6117bf4c
23 changed files with 143 additions and 27 deletions

View file

@ -33,7 +33,7 @@ QTEST_GUILESS_MAIN(TestKeePass2Writer)
void TestKeePass2Writer::initTestCase()
{
Crypto::init();
QVERIFY(Crypto::init());
CompositeKey key;
key.addKey(PasswordKey("test"));