mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-07 14:32:55 -04:00
Use GCRY_MD_FLAG_SECURE in CryptoHash
This commit is contained in:
parent
6a0d05e1ef
commit
e5ec585f98
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ CryptoHash::CryptoHash(CryptoHash::Algorithm algo, bool hmac)
|
||||||
Q_ASSERT(Crypto::initalized());
|
Q_ASSERT(Crypto::initalized());
|
||||||
|
|
||||||
int algoGcrypt = -1;
|
int algoGcrypt = -1;
|
||||||
unsigned int flagsGcrypt = 0;
|
unsigned int flagsGcrypt = GCRY_MD_FLAG_SECURE;
|
||||||
|
|
||||||
switch (algo) {
|
switch (algo) {
|
||||||
case CryptoHash::Sha256:
|
case CryptoHash::Sha256:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue