mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-26 07:49:50 -05:00
Use GCRY_MD_FLAG_SECURE in CryptoHash
This commit is contained in:
parent
6a0d05e1ef
commit
e5ec585f98
@ -39,7 +39,7 @@ CryptoHash::CryptoHash(CryptoHash::Algorithm algo, bool hmac)
|
||||
Q_ASSERT(Crypto::initalized());
|
||||
|
||||
int algoGcrypt = -1;
|
||||
unsigned int flagsGcrypt = 0;
|
||||
unsigned int flagsGcrypt = GCRY_MD_FLAG_SECURE;
|
||||
|
||||
switch (algo) {
|
||||
case CryptoHash::Sha256:
|
||||
|
Loading…
Reference in New Issue
Block a user