Fix for building sources (wildcard *.c). Add macro guard on new files.

This commit is contained in:
David Garske
2024-11-01 10:46:40 -07:00
parent 6b78726f13
commit f95c4d7b67

View File

@ -27,6 +27,7 @@
#include <wolfssl/wolfcrypt/settings.h>
#include <wolfssl/wolfcrypt/port/riscv/riscv-64-asm.h>
#ifdef WOLFSSL_RISCV_ASM
#if defined(WOLFSSL_SHA3) && !defined(WOLFSSL_XILINX_CRYPT) && \
!defined(WOLFSSL_AFALG_XILINX_SHA3)
@ -857,7 +858,6 @@ void BlockSha3(word64* s)
);
}
#endif
#endif
#endif /* WOLFSSL_RISCV_VECTOR */
#endif /* WOLFSSL_SHA3 && !XILINX */
#endif /* WOLFSSL_RISCV_ASM */