aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorJakub Wilk <jwilk@jwilk.net>2024-01-19 20:47:04 +0100
committerHugo Landau <hlandau@openssl.org>2024-01-23 14:31:03 +0000
commitde61dba39059825bd9dfe9dad1532d6ef6c110d4 (patch)
tree39855c1ff2d066b16c49a3341df61c478daa5447 /crypto
parentf231cc8576a6353baebe2c7a9cd8cefa3537e26e (diff)
downloadopenssl-de61dba39059825bd9dfe9dad1532d6ef6c110d4.tar.gz
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')
-rw-r--r--crypto/dh/dh_check.c2
-rw-r--r--crypto/dsa/dsa_check.c2
2 files changed, 2 insertions, 2 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);
diff --git a/crypto/dsa/dsa_check.c b/crypto/dsa/dsa_check.c
index ec3534d35c..1d42bf77ca 100644
--- a/crypto/dsa/dsa_check.c
+++ b/crypto/dsa/dsa_check.c
@@ -88,7 +88,7 @@ int ossl_dsa_check_pairwise(const DSA *dsa)
/* recalculate the public key = (g ^ priv) mod p */
if (!ossl_dsa_generate_public_key(ctx, dsa, dsa->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, dsa->pub_key) == 0;
err:
BN_free(pub_key);