summaryrefslogtreecommitdiff
path: root/lib/libcrypto/man/BN_CTX_start.3
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2019-08-20 10:59:10 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2019-08-20 10:59:10 +0000
commit7ddfe716fc309afb15af27803b3bb5939fab7fc3 (patch)
tree957ea30b0f21545fac44c8a71adf497a9c8381d0 /lib/libcrypto/man/BN_CTX_start.3
parent990688b6b78213d9a1d338b651aa55aa761152ec (diff)
make BN_CTX_end(NULL) a NOOP for compatibility with documented behaviour
in OpenSSL 1.1.1 even though in general, letting random functions accept NULL is not advisable because it can hide programming errors; "yes please" tb@ "unfortunately I suspect you're right" jsing@ "oh well" deraadt@
Diffstat (limited to 'lib/libcrypto/man/BN_CTX_start.3')
-rw-r--r--lib/libcrypto/man/BN_CTX_start.311
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/libcrypto/man/BN_CTX_start.3 b/lib/libcrypto/man/BN_CTX_start.3
index f4f10b8b0cf..a2b62eff5cf 100644
--- a/lib/libcrypto/man/BN_CTX_start.3
+++ b/lib/libcrypto/man/BN_CTX_start.3
@@ -1,5 +1,5 @@
-.\" $OpenBSD: BN_CTX_start.3,v 1.7 2018/03/22 16:06:33 schwarze Exp $
-.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
+.\" $OpenBSD: BN_CTX_start.3,v 1.8 2019/08/20 10:59:09 schwarze Exp $
+.\" full merge up to: OpenSSL 35fd9953 May 28 14:49:38 2019 +0200
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org>.
.\" Copyright (c) 2000 The OpenSSL Project. All rights reserved.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 22 2018 $
+.Dd $Mdocdate: August 20 2019 $
.Dt BN_CTX_START 3
.Os
.Sh NAME
@@ -104,6 +104,11 @@ is called, the
pointers obtained from
.Fn BN_CTX_get
become invalid.
+If
+.Fa ctx
+is
+.Dv NULL ,
+no action occurs.
.Sh RETURN VALUES
.Fn BN_CTX_get
returns a pointer to the