mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-23 11:33:33 +01:00
Windows: Fix regression in self-test of hash algorithms that caused them to fail
This commit is contained in:
parent
3a5fe63224
commit
a69cba98ec
@ -1672,7 +1672,7 @@ BOOL test_pkcs5 ()
|
||||
return FALSE;
|
||||
|
||||
/* Blake2s hash tests */
|
||||
if (RunHashTest (Blake2sHash, Blake2sTestVectors))
|
||||
if (RunHashTest (Blake2sHash, Blake2sTestVectors) == FALSE)
|
||||
return FALSE;
|
||||
|
||||
/* HMAC-Whirlpool tests */
|
||||
@ -1684,7 +1684,7 @@ BOOL test_pkcs5 ()
|
||||
return FALSE;
|
||||
|
||||
/* STREEBOG hash tests */
|
||||
if (RunHashTest (StreebogHash, Streebog512TestVectors))
|
||||
if (RunHashTest (StreebogHash, Streebog512TestVectors) == FALSE)
|
||||
return FALSE;
|
||||
#endif
|
||||
/* PKCS-5 test 1 with HMAC-SHA-256 used as the PRF (https://tools.ietf.org/html/draft-josefsson-scrypt-kdf-00) */
|
||||
|
Loading…
Reference in New Issue
Block a user