--- john-1.9.0-jumbo-1/src/blake2.h.orig 2021-06-08 13:33:13.878627572 +0200 +++ john-1.9.0-jumbo-1/src/blake2.h 2021-06-08 13:36:22.164069924 +0200 @@ -10,7 +10,7 @@ You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see . */ -#pragma once + #ifndef __BLAKE2_H__ #define __BLAKE2_H__ @@ -57,7 +57,7 @@ uint8_t personal[BLAKE2S_PERSONALBYTES]; // 32 } blake2s_param; - JTR_ALIGN( 64 ) typedef struct __blake2s_state + typedef struct JTR_ALIGN( 64 ) __blake2s_state { uint32_t h[8]; uint32_t t[2]; @@ -82,7 +82,7 @@ uint8_t personal[BLAKE2B_PERSONALBYTES]; // 64 } blake2b_param; - JTR_ALIGN( 64 ) typedef struct __blake2b_state + typedef struct JTR_ALIGN( 64 ) __blake2b_state { uint64_t h[8]; uint64_t t[2]; @@ -94,7 +94,7 @@ #if defined(JOHN_NO_SIMD) || (!defined(__SSE2__) && !defined(__SSE4_1__) && !defined(__XOP__)) typedef struct __blake2sp_state #else - JTR_ALIGN( 64 ) typedef struct __blake2sp_state + typedef struct JTR_ALIGN( 64 ) __blake2sp_state #endif { blake2s_state S[8][1]; @@ -106,7 +106,7 @@ #if defined(JOHN_NO_SIMD) || (!defined(__SSE2__) && !defined(__SSE4_1__) && !defined(__XOP__)) typedef struct __blake2bp_state #else - JTR_ALIGN( 64 ) typedef struct __blake2bp_state + typedef struct JTR_ALIGN( 64 ) __blake2bp_state #endif { blake2b_state S[4][1];