From 9aaf5048b17aa381e9b3fc42e15c9dbfab0f77df Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Wed, 21 Jul 2021 16:42:55 +0200 Subject: [PATCH] ECDSA_SIG_set0: r and s parameters cannot be NULL Fixes #7731 Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/16129) --- include/openssl/ec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/openssl/ec.h b/include/openssl/ec.h index ad40b9045c9..8b1abcebb7d 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); -- 2.47.3