diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-08-20 06:31:20 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-08-20 07:16:42 +0200 |
commit | 49a8ff59dc371693dc47050ed1cb034acdb1a53c (patch) | |
tree | 6f18c3187832df7cebec2ab6a307774c7def010f /src | |
parent | d076bb5133c75453ded3691050b5bd0c35745bf3 (diff) | |
download | VeraCrypt-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')
-rw-r--r-- | src/Common/Random.c | 2 |
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; |