From 75843f640584d28a1b0fd68ce63ec21b288112f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20Adelin?= <radelin@laas.fr>
Date: Wed, 31 May 2023 09:38:17 +0200
Subject: [PATCH] Fix blake issue

- change lines 64 and 89 to typedef struct ALIGNME( 64 ) __blake2s_state
---
 src/md/blake2.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/md/blake2.h b/src/md/blake2.h
index 78d80659..358ef680 100644
--- a/src/md/blake2.h
+++ b/src/md/blake2.h
@@ -61,7 +61,7 @@ extern "C" {
     uint8_t  personal[BLAKE2S_PERSONALBYTES];  // 32
   } blake2s_param;
 
-  ALIGNME( 64 ) typedef struct __blake2s_state
+  typedef struct ALIGNME( 64 ) __blake2s_state
   {
     uint32_t h[8];
     uint32_t t[2];
@@ -86,7 +86,7 @@ extern "C" {
     uint8_t  personal[BLAKE2B_PERSONALBYTES];  // 64
   } blake2b_param;
 
-  ALIGNME( 64 ) typedef struct __blake2b_state
+  typedef struct ALIGNME( 64 ) __blake2b_state
   {
     uint64_t h[8];
     uint64_t t[2];
-- 
GitLab