From: tb Date: Sun, 30 Apr 2023 19:23:54 +0000 (+0000) Subject: Remove documentation of BN_zero_ex() and update BN_one() and BN_zero() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3bdd232f5689b1d274ef330f9b8fad24bf97d4b8;p=openbsd Remove documentation of BN_zero_ex() and update BN_one() and BN_zero() which are no longer macros (and the latter is no longer deprecated and no longer attempts to allocate memory). --- diff --git a/lib/libcrypto/man/BN_zero.3 b/lib/libcrypto/man/BN_zero.3 index 876e1c3fded..0b677b246f4 100644 --- a/lib/libcrypto/man/BN_zero.3 +++ b/lib/libcrypto/man/BN_zero.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: BN_zero.3,v 1.12 2022/11/22 19:02:07 schwarze Exp $ +.\" $OpenBSD: BN_zero.3,v 1.13 2023/04/30 19:23:54 tb Exp $ .\" full merge up to: OpenSSL a528d4f0 Oct 27 13:40:11 2015 -0400 .\" selective merge up to: OpenSSL b713c4ff Jan 22 14:41:09 2018 -0500 .\" @@ -67,11 +67,10 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: November 22 2022 $ +.Dd $Mdocdate: April 30 2023 $ .Dt BN_ZERO 3 .Os .Sh NAME -.Nm BN_zero_ex , .Nm BN_zero , .Nm BN_one , .Nm BN_value_one , @@ -80,10 +79,6 @@ .Nd BIGNUM assignment operations .Sh SYNOPSIS .In openssl/bn.h -.Ft void -.Fo BN_zero_ex -.Fa "BIGNUM *a" -.Fc .Ft int .Fo BN_zero .Fa "BIGNUM *a" @@ -117,7 +112,7 @@ platforms and .Vt unsigned int Pq = Vt uint32_t elsewhere. .Pp -.Fn BN_zero_ex , +.Fn BN_zero , .Fn BN_one , and .Fn BN_set_word @@ -126,16 +121,6 @@ set to the values 0, 1 and .Fa w respectively. -.Fn BN_zero -is a deprecated version of -.Fn BN_zero_ex -that may attempt to allocate memory; consequently, and in contrast to -.Fn BN_zero_ex , -it may fail. -.Fn BN_zero -and -.Fn BN_one -are macros. .Pp .Fn BN_value_one returns a @@ -174,10 +159,6 @@ first appeared in SSLeay 0.5.1. first appeared in SSLeay 0.6.0. These functions have been available since .Ox 2.4 . -.Pp -.Fn BN_zero_ex -first appeared in OpenSSL 0.9.8 and has been available since -.Ox 4.5 . .Sh BUGS Someone might change the constant. .Pp