From db18e499206ff693ceb3a5fbedbabbc399aee9ed Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Wed, 28 Feb 2018 13:20:16 -0700 Subject: [PATCH] gcc-7 warning about misleading indentation --- wolfcrypt/src/ecc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wolfcrypt/src/ecc.c b/wolfcrypt/src/ecc.c index 1a879b055..2e3b49173 100644 --- a/wolfcrypt/src/ecc.c +++ b/wolfcrypt/src/ecc.c @@ -2821,9 +2821,11 @@ static int wc_ecc_shared_secret_gen_sync(ecc_key* private_key, ecc_point* point, #endif #endif #ifdef WOLFSSL_SP_MATH + { err = WC_KEY_SIZE_E; (void)curve; + } #else { /* make new point */