VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Crypto/Sha2.c
diff options
context:
space:
mode:
authoralt3r 3go <alt3r.3go@protonmail.com>2019-12-09 17:43:33 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-12-09 17:43:33 +0100
commit0364a36f84b2a08c690ec008d4cbb160bdf27a67 (patch)
treea6b9f9968539a06603f4ff5e3b8f18434e27e3ae /src/Crypto/Sha2.c
parent07bb27e3b94ee26128d5c7f800cdcf3232ff281a (diff)
downloadVeraCrypt-0364a36f84b2a08c690ec008d4cbb160bdf27a67.tar.gz
VeraCrypt-0364a36f84b2a08c690ec008d4cbb160bdf27a67.zip
Linux: fix NOASM compilation (#563) (#568)
Signed-off-by: alt3r 3go <alt3r.3go@protonmail.com>
Diffstat (limited to 'src/Crypto/Sha2.c')
-rw-r--r--src/Crypto/Sha2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Crypto/Sha2.c b/src/Crypto/Sha2.c
index f214f6dd..5949d85e 100644
--- a/src/Crypto/Sha2.c
+++ b/src/Crypto/Sha2.c
@@ -10,7 +10,7 @@ and released into public domain.
#include "Crypto/cpu.h"
#include "Crypto/misc.h"
-#ifdef _UEFI
+#if defined(_UEFI) || defined(CRYPTOPP_DISABLE_ASM)
#define NO_OPTIMIZED_VERSIONS
#endif