VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-08-17 22:36:11 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-08-17 22:38:14 +0200
commit7ad75a81cadc1629dbc1a60e7247e8d1c5ea83a4 (patch)
tree88c4ac492311d3d256e78def3a6917f50ef9ffe5 /src
parentf84dc7b78f2e348eb373bb0c68e911c2cedaf840 (diff)
downloadVeraCrypt-7ad75a81cadc1629dbc1a60e7247e8d1c5ea83a4.tar.gz
VeraCrypt-7ad75a81cadc1629dbc1a60e7247e8d1c5ea83a4.zip
Windows: Fix compilation error caused by latest MacOSX change.VeraCrypt_1.18aVeraCrypt_1.18
Diffstat (limited to 'src')
-rw-r--r--src/Common/Tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/Tests.c b/src/Common/Tests.c
index c51b6338..bd159137 100644
--- a/src/Common/Tests.c
+++ b/src/Common/Tests.c
@@ -511,7 +511,7 @@ unsigned long HexStringToByteArray(const char* hexStr, unsigned char* pbData)
BOOL RunHashTest (HashFunction fn, HashTestVector* vector, BOOL bUseSSE)
{
- ALIGN (16) unsigned char input[256];
+ CRYPTOPP_ALIGN_DATA (16) unsigned char input[256];
unsigned char output[64];
unsigned char digest[64];
unsigned long i = 0, inputLen, outputLen, digestLen;
@@ -1290,7 +1290,7 @@ static const unsigned char gost3411_2012_hmac_r1[] = {
BOOL test_hmac_streebog ()
{
- ALIGN(16) char digest[64]; /* large enough to hold digets and test vector inputs */
+ CRYPTOPP_ALIGN_DATA(16) char digest[64]; /* large enough to hold digets and test vector inputs */
memcpy (digest, gost3411_2012_hmac_m1, sizeof (gost3411_2012_hmac_m1));
hmac_streebog ((char*) gost3411_2012_hmac_k1, sizeof(gost3411_2012_hmac_k1), digest, (int) sizeof (gost3411_2012_hmac_m1));