diff options
author | Jakub Wilk <jwilk@jwilk.net> | 2024-01-19 20:47:04 +0100 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2024-01-23 14:31:03 +0000 |
commit | de61dba39059825bd9dfe9dad1532d6ef6c110d4 (patch) | |
tree | 39855c1ff2d066b16c49a3341df61c478daa5447 /crypto/dh | |
parent | f231cc8576a6353baebe2c7a9cd8cefa3537e26e (diff) |
Fix typos
CLA: trivial
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23345)
Diffstat (limited to 'crypto/dh')
-rw-r--r-- | crypto/dh/dh_check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dh/dh_check.c b/crypto/dh/dh_check.c index e20eb62081..cc997bd8bd 100644 --- a/crypto/dh/dh_check.c +++ b/crypto/dh/dh_check.c @@ -351,7 +351,7 @@ int ossl_dh_check_pairwise(const DH *dh) /* recalculate the public key = (g ^ priv) mod p */ if (!ossl_dh_generate_public_key(ctx, dh, dh->priv_key, pub_key)) goto err; - /* check it matches the existing pubic_key */ + /* check it matches the existing public_key */ ret = BN_cmp(pub_key, dh->pub_key) == 0; err: BN_free(pub_key); |