1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Windows: Fix crash on 32-bit machines when using Streebog on a CPU that supports SSE4.1.

This commit is contained in:
Mounir IDRASSI
2016-08-20 06:31:20 +02:00
parent d076bb5133
commit 49a8ff59dc

View File

@@ -108,7 +108,7 @@ int Randinit ()
if (pRandPool == NULL)
{
pRandPool = (unsigned char *) TCalloc (RANDOMPOOL_ALLOCSIZE);
pRandPool = (unsigned char *) _aligned_malloc (RANDOMPOOL_ALLOCSIZE, 16);
if (pRandPool == NULL)
goto error;