mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-17 21:04:19 -05:00
Fix compilation error
This commit is contained in:
parent
564188b0d3
commit
f7d3c90218
@ -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…
x
Reference in New Issue
Block a user