Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanek Bevendorff <janek@jbev.net>2017-12-16 20:36:42 +0300
committerJonathan White <support@dmapps.us>2018-01-13 22:23:28 +0300
commit15648991fc0636320804804000066a27973fb7e5 (patch)
tree714fa266f9035e081d657644548e6002fa582163 /tests/TestKeePass1Reader.cpp
parentd00ccd2eb5016dec4be962385e61d5bccd606ce1 (diff)
Refactor Kdf class, remove fields concept
Diffstat (limited to 'tests/TestKeePass1Reader.cpp')
-rw-r--r--tests/TestKeePass1Reader.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/TestKeePass1Reader.cpp b/tests/TestKeePass1Reader.cpp
index 7e015c2bc..c372c8715 100644
--- a/tests/TestKeePass1Reader.cpp
+++ b/tests/TestKeePass1Reader.cpp
@@ -26,7 +26,6 @@
#include "core/Group.h"
#include "core/Metadata.h"
#include "crypto/Crypto.h"
-#include "crypto/kdf/AesKdf.h"
#include "format/KeePass1Reader.h"
#include "format/KeePass2Reader.h"
#include "format/KeePass2Writer.h"
@@ -111,7 +110,7 @@ void TestKeePass1Reader::testBasic()
void TestKeePass1Reader::testMasterKey()
{
QVERIFY(m_db->hasKey());
- QCOMPARE(static_cast<AesKdf*>(m_db->kdf())->rounds(), static_cast<quint64>(713));
+ QCOMPARE(m_db->kdf()->rounds(), static_cast<quint64>(713));
}
void TestKeePass1Reader::testCustomIcons()