summaryrefslogtreecommitdiffstats
path: root/doc/man3/ASN1_STRING_print_ex.pod
diff options
context:
space:
mode:
authorPaul Yang <yang.yang@baishancloud.com>2017-12-25 17:50:39 +0800
committerMatt Caswell <matt@openssl.org>2018-01-16 17:34:08 +0000
commit1f13ad311367c07fe71c9f911195cd25948184d7 (patch)
tree6293d1b483575295ea3786c1a07f3895141aedb6 /doc/man3/ASN1_STRING_print_ex.pod
parent82992a4130e668c14ff66fca26170629b23c4556 (diff)
Add missing 'RETURN VALUES' sections in doc
All missing sections are added. Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4976)
Diffstat (limited to 'doc/man3/ASN1_STRING_print_ex.pod')
-rw-r--r--doc/man3/ASN1_STRING_print_ex.pod9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/man3/ASN1_STRING_print_ex.pod b/doc/man3/ASN1_STRING_print_ex.pod
index 401de9b5d6..5c6a580629 100644
--- a/doc/man3/ASN1_STRING_print_ex.pod
+++ b/doc/man3/ASN1_STRING_print_ex.pod
@@ -89,6 +89,15 @@ equivalent to:
ASN1_STRFLGS_ESC_2253 | ASN1_STRFLGS_ESC_CTRL | ASN1_STRFLGS_ESC_MSB |
ASN1_STRFLGS_UTF8_CONVERT | ASN1_STRFLGS_DUMP_UNKNOWN ASN1_STRFLGS_DUMP_DER
+=head1 RETURN VALUES
+
+ASN1_STRING_print_ex() and ASN1_STRING_print_ex_fp() return the number of
+characters written or -1 if an error occurred.
+
+ASN1_STRING_print() returns 1 on success or 0 on error.
+
+ASN1_tag2str() returns a human-readable name of the specified ASN.1 B<tag>.
+
=head1 SEE ALSO
L<X509_NAME_print_ex(3)>,