diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-02-12 16:04:51 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-02-12 16:04:51 +0000 |
commit | eb442fb4ff592386f7e329bb4ed7c1c14176e45c (patch) | |
tree | fc3ebda8e57a785d11b0e671524ad3fc2ee5b5f3 | |
parent | de65e2d91d7fa537d1a44d8ca506f646cb43bacd (diff) |
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-- | lib/libcrypto/man/ASN1_STRING_print_ex.3 | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/lib/libcrypto/man/ASN1_STRING_print_ex.3 b/lib/libcrypto/man/ASN1_STRING_print_ex.3 index 74ddc9703cb..356a0a3efcf 100644 --- a/lib/libcrypto/man/ASN1_STRING_print_ex.3 +++ b/lib/libcrypto/man/ASN1_STRING_print_ex.3 @@ -1,6 +1,6 @@ -.\" $OpenBSD: ASN1_STRING_print_ex.3,v 1.8 2017/08/20 15:44:22 schwarze Exp $ -.\" OpenSSL ASN1_STRING_print_ex.pod a95d7574 Jul 2 12:16:38 2017 -0400 -.\" OpenSSL ASN1_STRING_print_ex.pod bb9ad09e Jun 6 00:43:05 2016 -0400 +.\" $OpenBSD: ASN1_STRING_print_ex.3,v 1.9 2018/02/12 16:04:50 schwarze Exp $ +.\" full merge up to: OpenSSL bb9ad09e Jun 6 00:43:05 2016 -0400 +.\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800 .\" .\" This file was written by Dr. Stephen Henson. .\" Copyright (c) 2002, 2004, 2007, 2013, 2016, 2017 The OpenSSL Project. @@ -50,7 +50,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: August 20 2017 $ +.Dd $Mdocdate: February 12 2018 $ .Dt ASN1_STRING_PRINT_EX 3 .Os .Sh NAME @@ -208,5 +208,16 @@ It is equivalent to .Dv ASN1_STRFLGS_UTF8_CONVERT | .Dv ASN1_STRFLGS_DUMP_UNKNOWN | .Dv ASN1_STRFLGS_DUMP_DER . +.Sh RETURN VALUES +.Fn ASN1_STRING_print_ex +and +.Fn ASN1_STRING_print_ex_fp +return the number of characters written or \-1 if an error occurred. +.Pp +.Fn ASN1_STRING_print +returns 1 on success or 0 on error. +.Pp +.Fn ASN1_tag2str +returns a static string. .Sh SEE ALSO .Xr X509_NAME_print_ex 3 |