From 0737cd42660de88c915f596082e0a143224707bd Mon Sep 17 00:00:00 2001 From: tb Date: Thu, 27 Apr 2023 07:22:22 +0000 Subject: [PATCH] Remove dangling references to BN_get0_nist_prime_521(3) --- lib/libcrypto/man/BN_new.3 | 5 ++--- lib/libcrypto/man/BN_set_flags.3 | 10 ++++------ 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/lib/libcrypto/man/BN_new.3 b/lib/libcrypto/man/BN_new.3 index 94b18848179..cbbc5754ac6 100644 --- a/lib/libcrypto/man/BN_new.3 +++ b/lib/libcrypto/man/BN_new.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: BN_new.3,v 1.23 2023/04/25 17:23:08 tb Exp $ +.\" $OpenBSD: BN_new.3,v 1.24 2023/04/27 07:22:22 tb Exp $ .\" full merge up to: OpenSSL man3/BN_new 2457c19d Mar 6 08:43:36 2004 +0000 .\" selective merge up to: man3/BN_new 681acb31 Sep 29 13:10:34 2017 +0200 .\" full merge up to: OpenSSL man7/bn 05ea606a May 20 20:52:46 2016 -0400 @@ -50,7 +50,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: April 25 2023 $ +.Dd $Mdocdate: April 27 2023 $ .Dt BN_NEW 3 .Os .Sh NAME @@ -143,7 +143,6 @@ and sets an error code that can be obtained by .Xr BN_CTX_new 3 , .Xr BN_CTX_start 3 , .Xr BN_generate_prime 3 , -.Xr BN_get0_nist_prime_521 3 , .Xr BN_GF2m_add 3 , .Xr BN_kronecker 3 , .Xr BN_mod_inverse 3 , diff --git a/lib/libcrypto/man/BN_set_flags.3 b/lib/libcrypto/man/BN_set_flags.3 index 2baa990787f..1285ae2b287 100644 --- a/lib/libcrypto/man/BN_set_flags.3 +++ b/lib/libcrypto/man/BN_set_flags.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: BN_set_flags.3,v 1.5 2021/12/06 19:45:27 schwarze Exp $ +.\" $OpenBSD: BN_set_flags.3,v 1.6 2023/04/27 07:22:22 tb Exp $ .\" .\" Copyright (c) 2017 Ingo Schwarze .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: December 6 2021 $ +.Dd $Mdocdate: April 27 2023 $ .Dt BN_SET_FLAGS 3 .Os .Sh NAME @@ -96,10 +96,8 @@ object is usually a terrible idea that can cause both disclosure of secret data and memory leaks. This flag is automatically set on the constant .Vt BIGNUM -objects returned by -.Xr BN_value_one 3 -and by the functions documented in -.Xr BN_get0_nist_prime_521 3 . +object returned by +.Xr BN_value_one 3 . .El .Pp .Fn BN_get_flags -- 2.20.1