From 28c0a61b3084ca05d1c590113332501e96b6175d Mon Sep 17 00:00:00 2001 From: Saagar Jha Date: Fri, 22 Sep 2017 14:57:01 -0700 Subject: [PATCH] Update comments to match function parameter names CLA: trivial Reviewed-by: Rich Salz Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/4407) --- include/openssl/bn.h | 2 +- include/openssl/ec.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/openssl/bn.h b/include/openssl/bn.h index f77b4b90a8..93c8fe962e 100644 --- a/include/openssl/bn.h +++ b/include/openssl/bn.h @@ -186,7 +186,7 @@ int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx); */ void BN_set_negative(BIGNUM *b, int n); /** BN_is_negative returns 1 if the BIGNUM is negative - * \param a pointer to the BIGNUM object + * \param b pointer to the BIGNUM object * \return 1 if a < 0 and 0 otherwise */ int BN_is_negative(const BIGNUM *b); diff --git a/include/openssl/ec.h b/include/openssl/ec.h index 7978d96a34..273aea0432 100644 --- a/include/openssl/ec.h +++ b/include/openssl/ec.h @@ -774,7 +774,7 @@ EC_KEY *EC_KEY_dup(const EC_KEY *src); int EC_KEY_up_ref(EC_KEY *key); /** Returns the ENGINE object of a EC_KEY object - * \param key EC_KEY object + * \param eckey EC_KEY object * \return the ENGINE object (possibly NULL). */ ENGINE *EC_KEY_get0_engine(const EC_KEY *eckey); -- 2.25.1