summaryrefslogtreecommitdiff
path: root/doc/man/asn1_read_value.3
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/asn1_read_value.3')
-rw-r--r--doc/man/asn1_read_value.37
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/man/asn1_read_value.3 b/doc/man/asn1_read_value.3
index 49f8ce4..62ebe39 100644
--- a/doc/man/asn1_read_value.3
+++ b/doc/man/asn1_read_value.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_read_value" 3 "4.8" "libtasn1" "libtasn1"
+.TH "asn1_read_value" 3 "4.13" "libtasn1" "libtasn1"
.SH NAME
asn1_read_value \- API function
.SH SYNOPSIS
@@ -18,7 +18,7 @@ pointer to memory cells already allocated (may be \fBNULL\fP).
number of bytes of *value: value[0]..value[len\-1]. Initialy
holds the sizeof value.
.SH "DESCRIPTION"
-Returns the value of one element inside a structure.
+Returns the value of one element inside a structure.
If an element is OPTIONAL and this returns
\fBASN1_ELEMENT_NOT_FOUND\fP, it means that this element wasn't present
in the der encoding that created the structure. The first element
@@ -72,7 +72,8 @@ encoding of the structure actually used.
\fBASN1_VALUE_NOT_FOUND\fP if there isn't any value for the element
selected, and \fBASN1_MEM_ERROR\fP if The value vector isn't big enough
to store the result, and in this case \fIlen\fP will contain the number of
-bytes needed.
+bytes needed. On the occasion that the stored data are of zero\-length
+this function may return \fBASN1_SUCCESS\fP even if the provided \fIlen\fP is zero.
.SH COPYRIGHT
Copyright \(co 2006-2015 Free Software Foundation, Inc..
.br