mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 19:08:26 -06:00
Windows: Fix crash on 32-bit machines when using Streebog on a CPU that supports SSE4.1.
This commit is contained in:
@@ -108,7 +108,7 @@ int Randinit ()
|
|||||||
|
|
||||||
if (pRandPool == NULL)
|
if (pRandPool == NULL)
|
||||||
{
|
{
|
||||||
pRandPool = (unsigned char *) TCalloc (RANDOMPOOL_ALLOCSIZE);
|
pRandPool = (unsigned char *) _aligned_malloc (RANDOMPOOL_ALLOCSIZE, 16);
|
||||||
if (pRandPool == NULL)
|
if (pRandPool == NULL)
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user