]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
SAE: Fix a typo in a comment
authorJouni Malinen <j@w1.fi>
Sat, 16 May 2020 18:01:32 +0000 (21:01 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 16 May 2020 18:01:32 +0000 (21:01 +0300)
Signed-off-by: Jouni Malinen <j@w1.fi>
src/common/sae.c

index 543640de320b8fafdb293f67c6e682d2b0df7527..1b4ec6d81f3912b3f0a02085fb2d70b6f4e69d77 100644 (file)
@@ -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);