mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-22 13:02:10 -04:00
Fix compilation error
This commit is contained in:
parent
564188b0d3
commit
f7d3c90218
2 changed files with 2 additions and 2 deletions
|
@ -109,7 +109,7 @@ QByteArray CryptoHash::result() const
|
||||||
{
|
{
|
||||||
Q_D(const CryptoHash);
|
Q_D(const CryptoHash);
|
||||||
|
|
||||||
const auto* result = reinterpret_cast<const char*>(gcry_md_read(d->ctx, 0));
|
const auto result = reinterpret_cast<const char*>(gcry_md_read(d->ctx, 0));
|
||||||
return QByteArray(result, d->hashLen);
|
return QByteArray(result, d->hashLen);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -199,7 +199,7 @@ void DatabaseSettingsWidget::transformRoundsBenchmark()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Determine the number of rounds required to meet 1 second delay
|
// Determine the number of rounds required to meet 1 second delay
|
||||||
int rounds = AsyncTask::runAndWaitForFuture([this, kdf]() {
|
int rounds = AsyncTask::runAndWaitForFuture([kdf]() {
|
||||||
return kdf->benchmark(1000);
|
return kdf->benchmark(1000);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue