summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2025-04-25 12:11:17 +0000
committertb <>2025-04-25 12:11:17 +0000
commit120a986cb6f325a834aa58315f1c744f3d9c8165 (patch)
treecbe2989abdd4064026ac1d06c8ed8dc2e0b68532 /src
parent0aab45657f4c617cb7e482a6b1e8ab0103e3f7f6 (diff)
downloadopenbsd-120a986cb6f325a834aa58315f1c744f3d9c8165.tar.gz
openbsd-120a986cb6f325a834aa58315f1c744f3d9c8165.tar.bz2
openbsd-120a986cb6f325a834aa58315f1c744f3d9c8165.zip
BN_new: zap an anachronistic admonition
-This type should be considered opaque and fields should not be modified -or accessed directly. The type has long been opaque and reasonable people will not do things that permit them to access the fields of opaque types directly. Of course, in the vicinity of OpenSSL code and API all sorts of insanity actually exist.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/man/BN_new.36
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/libcrypto/man/BN_new.3 b/src/lib/libcrypto/man/BN_new.3
index 088048c622..26a2a7d68a 100644
--- a/src/lib/libcrypto/man/BN_new.3
+++ b/src/lib/libcrypto/man/BN_new.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: BN_new.3,v 1.31 2023/07/26 20:08:59 tb Exp $ 1.\" $OpenBSD: BN_new.3,v 1.32 2025/04/25 12:11:17 tb Exp $
2.\" full merge up to: OpenSSL man3/BN_new 2457c19d Mar 6 08:43:36 2004 +0000 2.\" full merge up to: OpenSSL man3/BN_new 2457c19d Mar 6 08:43:36 2004 +0000
3.\" selective merge up to: man3/BN_new 681acb31 Sep 29 13:10:34 2017 +0200 3.\" selective merge up to: man3/BN_new 681acb31 Sep 29 13:10:34 2017 +0200
4.\" full merge up to: OpenSSL man7/bn 05ea606a May 20 20:52:46 2016 -0400 4.\" full merge up to: OpenSSL man7/bn 05ea606a May 20 20:52:46 2016 -0400
@@ -50,7 +50,7 @@
50.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 50.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
51.\" OF THE POSSIBILITY OF SUCH DAMAGE. 51.\" OF THE POSSIBILITY OF SUCH DAMAGE.
52.\" 52.\"
53.Dd $Mdocdate: July 26 2023 $ 53.Dd $Mdocdate: April 25 2025 $
54.Dt BN_NEW 3 54.Dt BN_NEW 3
55.Os 55.Os
56.Sh NAME 56.Sh NAME
@@ -91,8 +91,6 @@ memory allocation error has occurred.
91The basic object in this library is a 91The basic object in this library is a
92.Vt BIGNUM . 92.Vt BIGNUM .
93It is used to hold a single large integer. 93It is used to hold a single large integer.
94This type should be considered opaque and fields should not be modified
95or accessed directly.
96.Pp 94.Pp
97.Fn BN_new 95.Fn BN_new
98allocates and initializes a 96allocates and initializes a