mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-26 07:49:50 -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);
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
@ -199,7 +199,7 @@ void DatabaseSettingsWidget::transformRoundsBenchmark()
|
||||
}
|
||||
|
||||
// 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);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user