From 0364a36f84b2a08c690ec008d4cbb160bdf27a67 Mon Sep 17 00:00:00 2001 From: alt3r 3go Date: Mon, 9 Dec 2019 17:43:33 +0100 Subject: Linux: fix NOASM compilation (#563) (#568) Signed-off-by: alt3r 3go --- src/Crypto/Sha2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Crypto/Sha2.h') diff --git a/src/Crypto/Sha2.h b/src/Crypto/Sha2.h index 37625ce8..7e90abff 100644 --- a/src/Crypto/Sha2.h +++ b/src/Crypto/Sha2.h @@ -22,7 +22,7 @@ extern "C" { #define SHA512_DIGEST_SIZE 64 #define SHA512_BLOCK_SIZE 128 -#if CRYPTOPP_BOOL_X64 +#if CRYPTOPP_BOOL_X64 && !defined(CRYPTOPP_DISABLE_ASM) #define SHA2_ALIGN CRYPTOPP_ALIGN_DATA(32) #else #define SHA2_ALIGN CRYPTOPP_ALIGN_DATA(16) -- cgit v1.2.3