mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-03-12 09:06:37 -04:00
Drop obsolete GCRYPT_HAS_SALSA20 ifdef.
This commit is contained in:
parent
dee331d52d
commit
7c7014d951
@ -90,13 +90,11 @@ bool Crypto::checkAlgorithms()
|
||||
qWarning("Crypto::checkAlgorithms: %s", qPrintable(m_errorStr));
|
||||
return false;
|
||||
}
|
||||
#ifdef GCRYPT_HAS_SALSA20
|
||||
if (gcry_cipher_algo_info(GCRY_CIPHER_SALSA20, GCRYCTL_TEST_ALGO, nullptr, nullptr) != 0) {
|
||||
m_errorStr = "GCRY_CIPHER_SALSA20 not found.";
|
||||
qWarning("Crypto::checkAlgorithms: %s", qPrintable(m_errorStr));
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
if (gcry_md_test_algo(GCRY_MD_SHA256) != 0) {
|
||||
m_errorStr = "GCRY_MD_SHA256 not found.";
|
||||
qWarning("Crypto::checkAlgorithms: %s", qPrintable(m_errorStr));
|
||||
|
Loading…
x
Reference in New Issue
Block a user