aboutsummaryrefslogtreecommitdiffstats
path: root/doc/man3/ASN1_STRING_length.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_length.pod
parent82992a4130e668c14ff66fca26170629b23c4556 (diff)
downloadopenssl-1f13ad311367c07fe71c9f911195cd25948184d7.tar.gz
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_length.pod')
-rw-r--r--doc/man3/ASN1_STRING_length.pod22
1 files changed, 21 insertions, 1 deletions
diff --git a/doc/man3/ASN1_STRING_length.pod b/doc/man3/ASN1_STRING_length.pod
index 26cb176142..1c80162b6c 100644
--- a/doc/man3/ASN1_STRING_length.pod
+++ b/doc/man3/ASN1_STRING_length.pod
@@ -77,13 +77,33 @@ character in big endian format, UTF8String will be in UTF8 format.
Similar care should be take to ensure the data is in the correct format
when calling ASN1_STRING_set().
+=head1 RETURN VALUES
+
+ASN1_STRING_length() returns the length of the content of B<x>.
+
+ASN1_STRING_get0_data() and ASN1_STRING_data() return an internal pointer to
+the data of B<x>.
+
+ASN1_STRING_dup() returns a valid B<ASN1_STRING> structure or B<NULL> if an
+error occurred.
+
+ASN1_STRING_cmp() returns an integer greater than, equal to, or less than 0,
+according to whether B<a> is greater than, equal to, or less than B<b>.
+
+ASN1_STRING_set() returns 1 on success or 0 on error.
+
+ASN1_STRING_type() returns the type of B<x>.
+
+ASN1_STRING_to_UTF8() returns the number of bytes in output string B<out> or a
+negative value if an error occurred.
+
=head1 SEE ALSO
L<ERR_get_error(3)>
=head1 COPYRIGHT
-Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2002-2017 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the OpenSSL license (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy