From 4ec23571c6379ef9c958fe6de77da1791c7ec011 Mon Sep 17 00:00:00 2001 From: Sean Parkinson Date: Thu, 20 Apr 2023 08:27:44 +1000 Subject: [PATCH] SP int: missing brace Missing a brace in sp_exptmod_ex(). --- wolfcrypt/src/sp_int.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/sp_int.c b/wolfcrypt/src/sp_int.c index d07e27209..f7c2d65c4 100644 --- a/wolfcrypt/src/sp_int.c +++ b/wolfcrypt/src/sp_int.c @@ -13068,7 +13068,7 @@ int sp_exptmod_ex(const sp_int* b, const sp_int* e, int digits, const sp_int* m, #if defined(WOLFSSL_SP_MATH_ALL) || !defined(NO_DH) || defined(OPENSSL_ALL) #if (defined(WOLFSSL_RSA_VERIFY_ONLY) || defined(WOLFSSL_RSA_PUBLIC_ONLY)) && \ defined(NO_DH) - if ((!done) && (err == MP_OKAY)) + if ((!done) && (err == MP_OKAY)) { /* Use non-constant time version - fastest. */ err = sp_exptmod_nct(b, e, m, r); }