VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-08-20 06:31:20 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-08-20 07:16:42 +0200
commit49a8ff59dc371693dc47050ed1cb034acdb1a53c (patch)
tree6f18c3187832df7cebec2ab6a307774c7def010f /src/Common
parentd076bb5133c75453ded3691050b5bd0c35745bf3 (diff)
downloadVeraCrypt-49a8ff59dc371693dc47050ed1cb034acdb1a53c.tar.gz
VeraCrypt-49a8ff59dc371693dc47050ed1cb034acdb1a53c.zip
Windows: Fix crash on 32-bit machines when using Streebog on a CPU that supports SSE4.1.
Diffstat (limited to 'src/Common')
-rw-r--r--src/Common/Random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Random.c b/src/Common/Random.c
index edc6acca..9e2d3b3b 100644
--- a/src/Common/Random.c
+++ b/src/Common/Random.c
@@ -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;