mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-12 01:29:38 -04:00
Fix typo.
# Conflicts: # src/format/KeePass2Reader.cpp
This commit is contained in:
parent
d61e4d69b5
commit
8a7e98820a
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ Database* KeePass2Reader::readDatabase(QIODevice* device, const CompositeKey& ke
|
||||||
if (!xmlReader.headerHash().isEmpty()) {
|
if (!xmlReader.headerHash().isEmpty()) {
|
||||||
QByteArray headerHash = CryptoHash::hash(headerStream.storedData(), CryptoHash::Sha256);
|
QByteArray headerHash = CryptoHash::hash(headerStream.storedData(), CryptoHash::Sha256);
|
||||||
if (headerHash != xmlReader.headerHash()) {
|
if (headerHash != xmlReader.headerHash()) {
|
||||||
raiseError("Head doesn't match hash");
|
raiseError("Header doesn't match hash");
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue