mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-05-10 02:25:38 -04:00
Add unit test TestKeePass2Reader.
This commit is contained in:
parent
8835565fe3
commit
537ffafefd
6 changed files with 70 additions and 0 deletions
|
@ -74,6 +74,7 @@ Database* KeePass2Reader::readDatabase(QIODevice* device, const CompositeKey& ke
|
|||
|
||||
if (realStart != m_streamStartBytes) {
|
||||
raiseError("4");
|
||||
return 0;
|
||||
}
|
||||
|
||||
HashedBlockStream hashedStream(&cipherStream);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue