diff --git a/src/internal.c b/src/internal.c index bd7f979d8..91ccc394b 100644 --- a/src/internal.c +++ b/src/internal.c @@ -3822,8 +3822,7 @@ static WC_INLINE void DecodeSigAlg(const byte* input, byte* hashAlgo, byte* hsTy /* Hash performed as part of sign/verify operation. */ *hashAlgo = sha512_mac; } - else - if (input[1] == FALCON_LEVEL5_SA_MINOR) { + else if (input[1] == FALCON_LEVEL5_SA_MINOR) { *hsType = falcon_level5_sa_algo; /* Hash performed as part of sign/verify operation. */ *hashAlgo = sha512_mac; diff --git a/wolfcrypt/benchmark/benchmark.c b/wolfcrypt/benchmark/benchmark.c index 8a5d02e4d..ed706cc1a 100644 --- a/wolfcrypt/benchmark/benchmark.c +++ b/wolfcrypt/benchmark/benchmark.c @@ -50,6 +50,8 @@ #include "wolfcrypt/benchmark/benchmark.h" #endif +#define BENCH_EMBEDDED + /* printf mappings */ #ifdef FREESCALE_MQX #include