mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Use GCRY_MD_FLAG_SECURE in CryptoHash
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user