Add extra CRYPTO_ALIGN() required for Minix

This commit is contained in:
Frank Denis
2016-01-07 15:33:17 +01:00
parent cfd597298f
commit f1ab1fd377
@@ -790,7 +790,7 @@ crypto_aead_aes256gcm_encrypt(unsigned char *c,
const unsigned char *npub,
const unsigned char *k)
{
crypto_aead_aes256gcm_state ctx;
CRYPTO_ALIGN(16) crypto_aead_aes256gcm_state ctx;
crypto_aead_aes256gcm_beforenm(&ctx, k);
@@ -810,7 +810,7 @@ crypto_aead_aes256gcm_decrypt(unsigned char *m,
const unsigned char *npub,
const unsigned char *k)
{
crypto_aead_aes256gcm_state ctx;
CRYPTO_ALIGN(16) crypto_aead_aes256gcm_state ctx;
crypto_aead_aes256gcm_beforenm(&ctx, k);