mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-15 08:29:22 -05:00
Refactor Kdf class, remove fields concept
This commit is contained in:
parent
d00ccd2eb5
commit
15648991fc
17 changed files with 282 additions and 474 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue