summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschwarze <>2018-02-12 16:04:50 +0000
committerschwarze <>2018-02-12 16:04:50 +0000
commit0b3f69f36c5ed152241a0efe7df9bad5e4c407d3 (patch)
tree356f2469220cde245367d9eac4f80947866a0e09
parent07fd0d6c60438241a541e714655b2213e0617433 (diff)
downloadopenbsd-0b3f69f36c5ed152241a0efe7df9bad5e4c407d3.tar.gz
openbsd-0b3f69f36c5ed152241a0efe7df9bad5e4c407d3.tar.bz2
openbsd-0b3f69f36c5ed152241a0efe7df9bad5e4c407d3.zip
Add missing RETURN VALUES section.
From Paul Yang via OpenSSL commit 1f13ad31 Dec 25 17:50:39 2017 +0800 with one tweak.
-rw-r--r--src/lib/libcrypto/man/ASN1_STRING_print_ex.319
1 files changed, 15 insertions, 4 deletions
diff --git a/src/lib/libcrypto/man/ASN1_STRING_print_ex.3 b/src/lib/libcrypto/man/ASN1_STRING_print_ex.3
index 74ddc9703c..356a0a3efc 100644
--- a/src/lib/libcrypto/man/ASN1_STRING_print_ex.3
+++ b/src/lib/libcrypto/man/ASN1_STRING_print_ex.3
@@ -1,6 +1,6 @@
1.\" $OpenBSD: ASN1_STRING_print_ex.3,v 1.8 2017/08/20 15:44:22 schwarze Exp $ 1.\" $OpenBSD: ASN1_STRING_print_ex.3,v 1.9 2018/02/12 16:04:50 schwarze Exp $
2.\" OpenSSL ASN1_STRING_print_ex.pod a95d7574 Jul 2 12:16:38 2017 -0400 2.\" full merge up to: OpenSSL bb9ad09e Jun 6 00:43:05 2016 -0400
3.\" OpenSSL ASN1_STRING_print_ex.pod bb9ad09e Jun 6 00:43:05 2016 -0400 3.\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800
4.\" 4.\"
5.\" This file was written by Dr. Stephen Henson. 5.\" This file was written by Dr. Stephen Henson.
6.\" Copyright (c) 2002, 2004, 2007, 2013, 2016, 2017 The OpenSSL Project. 6.\" Copyright (c) 2002, 2004, 2007, 2013, 2016, 2017 The OpenSSL Project.
@@ -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: August 20 2017 $ 53.Dd $Mdocdate: February 12 2018 $
54.Dt ASN1_STRING_PRINT_EX 3 54.Dt ASN1_STRING_PRINT_EX 3
55.Os 55.Os
56.Sh NAME 56.Sh NAME
@@ -208,5 +208,16 @@ It is equivalent to
208.Dv ASN1_STRFLGS_UTF8_CONVERT | 208.Dv ASN1_STRFLGS_UTF8_CONVERT |
209.Dv ASN1_STRFLGS_DUMP_UNKNOWN | 209.Dv ASN1_STRFLGS_DUMP_UNKNOWN |
210.Dv ASN1_STRFLGS_DUMP_DER . 210.Dv ASN1_STRFLGS_DUMP_DER .
211.Sh RETURN VALUES
212.Fn ASN1_STRING_print_ex
213and
214.Fn ASN1_STRING_print_ex_fp
215return the number of characters written or \-1 if an error occurred.
216.Pp
217.Fn ASN1_STRING_print
218returns 1 on success or 0 on error.
219.Pp
220.Fn ASN1_tag2str
221returns a static string.
211.Sh SEE ALSO 222.Sh SEE ALSO
212.Xr X509_NAME_print_ex 3 223.Xr X509_NAME_print_ex 3