summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/X509_NAME_print_ex.3
diff options
context:
space:
mode:
authorschwarze <>2018-02-16 17:24:33 +0000
committerschwarze <>2018-02-16 17:24:33 +0000
commit6175606f57c702839620f7be2b0d09144134bdff (patch)
tree247edf9ab28a69fdf34fa9e755758cef37d3beb0 /src/lib/libcrypto/man/X509_NAME_print_ex.3
parentf46aa16c43bee0c979a780cca5275c5551c5c4e5 (diff)
downloadopenbsd-6175606f57c702839620f7be2b0d09144134bdff.tar.gz
openbsd-6175606f57c702839620f7be2b0d09144134bdff.tar.bz2
openbsd-6175606f57c702839620f7be2b0d09144134bdff.zip
Add missing RETURN VALUES sections; from Paul Yang
via OpenSSL commit 1f13ad31 Dec 25 17:50:39 2017 +0800, tweaked by me.
Diffstat (limited to 'src/lib/libcrypto/man/X509_NAME_print_ex.3')
-rw-r--r--src/lib/libcrypto/man/X509_NAME_print_ex.327
1 files changed, 23 insertions, 4 deletions
diff --git a/src/lib/libcrypto/man/X509_NAME_print_ex.3 b/src/lib/libcrypto/man/X509_NAME_print_ex.3
index 1342a200ad..7761d87504 100644
--- a/src/lib/libcrypto/man/X509_NAME_print_ex.3
+++ b/src/lib/libcrypto/man/X509_NAME_print_ex.3
@@ -1,8 +1,9 @@
1.\" $OpenBSD: X509_NAME_print_ex.3,v 1.6 2016/12/25 22:15:10 schwarze Exp $ 1.\" $OpenBSD: X509_NAME_print_ex.3,v 1.7 2018/02/16 17:24:33 schwarze Exp $
2.\" OpenSSL aebb9aac Jul 19 09:27:53 2016 -0400 2.\" full merge up to: OpenSSL aebb9aac Jul 19 09:27:53 2016 -0400
3.\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800
3.\" 4.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 5.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
5.\" Copyright (c) 2002, 2004, 2007, 2016 The OpenSSL Project. 6.\" Copyright (c) 2002, 2004, 2007, 2016, 2017 The OpenSSL Project.
6.\" All rights reserved. 7.\" All rights reserved.
7.\" 8.\"
8.\" Redistribution and use in source and binary forms, with or without 9.\" Redistribution and use in source and binary forms, with or without
@@ -49,7 +50,7 @@
49.\" 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
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 51.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 52.\"
52.Dd $Mdocdate: December 25 2016 $ 53.Dd $Mdocdate: February 16 2018 $
53.Dt X509_NAME_PRINT_EX 3 54.Dt X509_NAME_PRINT_EX 3
54.Os 55.Os
55.Sh NAME 56.Sh NAME
@@ -248,6 +249,24 @@ uses a format identical to
248in fact it calls 249in fact it calls
249.Fn X509_NAME_print 250.Fn X509_NAME_print
250internally. 251internally.
252.Sh RETURN VALUES
253.Fn X509_NAME_print_ex
254and
255.Fn X509_NAME_print_ex_fp
256return 1 on success or 0 on error if
257.Dv XN_FLAG_COMPAT
258is set in
259.Fa flags .
260Otherwise, they return the number of printed bytes including the
261indentation or \-1 on error.
262.Pp
263.Fn X509_NAME_oneline
264returns a valid string on success or
265.Dv NULL
266on error.
267.Pp
268.Fn X509_NAME_print
269returns 1 on success or 0 on error.
251.Sh SEE ALSO 270.Sh SEE ALSO
252.Xr ASN1_STRING_print_ex 3 , 271.Xr ASN1_STRING_print_ex 3 ,
253.Xr d2i_X509_NAME 3 , 272.Xr d2i_X509_NAME 3 ,