VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Random.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/Random.c')
-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;