From 6b10f88e40715db2edcb5b3e5d7bfadf412849d3 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 23 Sep 2019 00:04:11 +0200 Subject: Fix build error of UEFI bootloader caused by latest changes that introduced ChaCha20 and T1HA algorithms and which are not present nor used in UEFI bootloader --- src/Common/Crypto.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Common/Crypto.h') diff --git a/src/Common/Crypto.h b/src/Common/Crypto.h index 600fee92..a31152f2 100644 --- a/src/Common/Crypto.h +++ b/src/Common/Crypto.h @@ -208,10 +208,12 @@ typedef struct # include "GostCipher.h" # include "kuznyechik.h" # include "Camellia.h" +#if !defined (_UEFI) # include "chachaRng.h" # ifdef _WIN64 # include "t1ha.h" # endif +#endif #else # include "CamelliaSmall.h" #endif -- cgit v1.2.3