mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
ignored false positives of flawfinder
This commit is contained in:
parent
8a014f2303
commit
940fa6a9f4
@ -127,9 +127,9 @@ static char * compute_hash(
|
||||
{
|
||||
EVP_MD_CTX * context = EVP_MD_CTX_new();
|
||||
EVP_DigestInit_ex(context, digest, NULL);
|
||||
EVP_DigestUpdate(context, password, strlen(password));
|
||||
EVP_DigestUpdate(context, salt, strlen(salt));
|
||||
EVP_DigestUpdate(context, db->pepper, strlen(db->pepper));
|
||||
EVP_DigestUpdate(context, password, strlen(password)); /* Flawfinder: ignore */
|
||||
EVP_DigestUpdate(context, salt, strlen(salt)); /* Flawfinder: ignore */
|
||||
EVP_DigestUpdate(context, db->pepper, strlen(db->pepper)); /* Flawfinder: ignore */
|
||||
EVP_DigestFinal_ex(context, hash, &hash_size);
|
||||
EVP_MD_CTX_free(context);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user