gcc-7 warning about misleading indentation

This commit is contained in:
Jacob Barthelmeh
2018-02-28 13:20:16 -07:00
parent 2a368abd20
commit db18e49920

View File

@ -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 */