Fix typo.

# Conflicts:
#	src/format/KeePass2Reader.cpp
This commit is contained in:
Felix Geyer 2016-04-09 16:02:49 +02:00 committed by Jonathan White
parent d61e4d69b5
commit 8a7e98820a

View File

@ -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;
} }
} }