From: Jouni Malinen Date: Sat, 16 May 2020 18:01:32 +0000 (+0300) Subject: SAE: Fix a typo in a comment X-Git-Tag: hostap_2_10~1298 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2dbaa8ace307de275f7580fa2788b3943fb6fc9;p=thirdparty%2Fhostap.git SAE: Fix a typo in a comment Signed-off-by: Jouni Malinen --- diff --git a/src/common/sae.c b/src/common/sae.c index 543640de3..1b4ec6d81 100644 --- a/src/common/sae.c +++ b/src/common/sae.c @@ -169,7 +169,7 @@ static int sae_test_pwd_seed_ecc(struct sae_data *sae, const u8 *pwd_seed, * being smaller than prime. */ in_range = const_time_fill_msb((unsigned int) cmp_prime); /* The algorithm description would skip the next steps if - * cmp_prime >= 0 (reutnr 0 here), but go through them regardless to + * cmp_prime >= 0 (return 0 here), but go through them regardless to * minimize externally observable differences in behavior. */ x_cand = crypto_bignum_init_set(pwd_value, sae->tmp->prime_len);