summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-07-21 16:42:55 +0200
committerPauli <pauli@openssl.org>2021-07-27 11:02:55 +1000
commit9aaf5048b17aa381e9b3fc42e15c9dbfab0f77df (patch)
treed0af697ae91b5e9221aeb067a7569e2508a60f0a
parent317ed1b41790db7187bc6585b3d57c6a983c793a (diff)
ECDSA_SIG_set0: r and s parameters cannot be NULL
Fixes #7731 Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16129)
-rw-r--r--include/openssl/ec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/ec.h b/include/openssl/ec.h
index ad40b9045c..8b1abcebb7 100644
--- a/include/openssl/ec.h
+++ b/include/openssl/ec.h
@@ -1347,8 +1347,8 @@ const BIGNUM *ECDSA_SIG_get0_s(const ECDSA_SIG *sig);
/** Setter for r and s fields of ECDSA_SIG
* \param sig pointer to ECDSA_SIG structure
- * \param r pointer to BIGNUM for r (may be NULL)
- * \param s pointer to BIGNUM for s (may be NULL)
+ * \param r pointer to BIGNUM for r
+ * \param s pointer to BIGNUM for s
*/
int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s);