summaryrefslogtreecommitdiff
path: root/lib/libcrypto/man/X509_NAME_new.3
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2018-07-29 20:29:33 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2018-07-29 20:29:33 +0000
commit8e7add189aad4f191ba1801e1705b3f0f5246aee (patch)
treec20d50c3c60fc835942a422d124b5dce8353cdf8 /lib/libcrypto/man/X509_NAME_new.3
parente36d5101e881430108ecf5d838ccbb4ecf7674f7 (diff)
Document that X509_{NAME,REQ,REQ_INFO}_free() are all NULL safe.
From Ross L. Richardson
Diffstat (limited to 'lib/libcrypto/man/X509_NAME_new.3')
-rw-r--r--lib/libcrypto/man/X509_NAME_new.39
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libcrypto/man/X509_NAME_new.3 b/lib/libcrypto/man/X509_NAME_new.3
index 8a62d664fb8..527e22272c2 100644
--- a/lib/libcrypto/man/X509_NAME_new.3
+++ b/lib/libcrypto/man/X509_NAME_new.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: X509_NAME_new.3,v 1.5 2018/03/27 17:35:50 schwarze Exp $
+.\" $OpenBSD: X509_NAME_new.3,v 1.6 2018/07/29 20:29:32 tb Exp $
.\"
.\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org>
.\"
@@ -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: March 27 2018 $
+.Dd $Mdocdate: July 29 2018 $
.Dt X509_NAME_NEW 3
.Os
.Sh NAME
@@ -62,6 +62,11 @@ frees
and all the
.Vt X509_NAME_ENTRY
objects contained in it.
+If
+.Fa name
+is a
+.Dv NULL
+pointer, no action occurs.
.Sh RETURN VALUES
.Fn X509_NAME_new
returns a new