diff --git a/src/libsodium/include/sodium/crypto_generichash_blake2b.h b/src/libsodium/include/sodium/crypto_generichash_blake2b.h index 7b0c0820..5443c483 100644 --- a/src/libsodium/include/sodium/crypto_generichash_blake2b.h +++ b/src/libsodium/include/sodium/crypto_generichash_blake2b.h @@ -20,7 +20,7 @@ extern "C" { # pragma pack(push, 1) #endif -typedef CRYPTO_ALIGN(64) struct crypto_generichash_blake2b_state { +typedef struct CRYPTO_ALIGN(64) crypto_generichash_blake2b_state { uint64_t h[8]; uint64_t t[2]; uint64_t f[2]; diff --git a/src/libsodium/include/sodium/crypto_onetimeauth_poly1305.h b/src/libsodium/include/sodium/crypto_onetimeauth_poly1305.h index 479e923d..1615c905 100644 --- a/src/libsodium/include/sodium/crypto_onetimeauth_poly1305.h +++ b/src/libsodium/include/sodium/crypto_onetimeauth_poly1305.h @@ -16,7 +16,7 @@ extern "C" { #include "export.h" -typedef CRYPTO_ALIGN(16) struct crypto_onetimeauth_poly1305_state { +typedef struct CRYPTO_ALIGN(16) crypto_onetimeauth_poly1305_state { unsigned char opaque[256]; } crypto_onetimeauth_poly1305_state;