From 39edf8d20644c53c36775509481a5d92c120d29c Mon Sep 17 00:00:00 2001 From: Anthony Hu Date: Tue, 16 Nov 2021 17:38:36 -0500 Subject: [PATCH] pulled up a line. --- src/internal.c | 3 +-- wolfcrypt/benchmark/benchmark.c | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) 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