mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-21 21:24:35 -04:00
Drop obsolete GCRYPT_HAS_SALSA20 ifdef.
This commit is contained in:
parent
dee331d52d
commit
7c7014d951
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue