Skip to content

Commit c88f1c4

Browse files
committed
Fixing Redefine Errors/Warnings
1 parent 9e2a7b3 commit c88f1c4

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

wolfssl/wolfcrypt/settings.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2035,8 +2035,12 @@ extern void uITRON4_free(void *p) ;
20352035
#define WOLFSSL_NOSHA3_224
20362036
#define WOLFSSL_NOSHA3_256
20372037
#define WOLFSSL_NOSHA3_512
2038-
#define WOLFSSL_NO_SHAKE128
2039-
#define WOLFSSL_NO_SHAKE256
2038+
#ifndef WOLFSSL_NO_SHAKE128
2039+
#define WOLFSSL_NO_SHAKE128
2040+
#endif
2041+
#ifndef WOLFSSL_NO_SHAKE256
2042+
#define WOLFSSL_NO_SHAKE256
2043+
#endif
20402044
#endif
20412045
#ifdef WOLFSSL_AFALG_XILINX_AES
20422046
#undef WOLFSSL_AES_DIRECT

0 commit comments

Comments
 (0)