mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-12-03 23:32:33 -08:00
Add Tools::readFromDevice() and make FileKey use it.
This commit is contained in:
1 parent
6eebd95de1
commit
cc6f524168
4 files changed
+38
-7
No files matched your search
@@ -66,6 +66,10 @@ void CryptoHash::addData(const QByteArray& data)
|
||||
{
|
||||
Q_D(CryptoHash);
|
||||
|
||||
if (data.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
gcry_md_write(d->ctx, data.constData(), data.size());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user