diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-10-24 18:55:16 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-10-24 18:55:16 +0200 |
commit | bea43c782171c0c3f7463f38ee3b221b8e80f128 (patch) | |
tree | 96201e359f01518f42fe9029c04aae4e341c3a60 | |
parent | 903bcd40b162eec7dc78e7305871a658e38a3de3 (diff) | |
download | libtasn1-tmp-test-suite-spc.tar.gz |
doc updatetmp-test-suite-spc
-rw-r--r-- | lib/element.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/element.c b/lib/element.c index 3ae7740..756e41a 100644 --- a/lib/element.c +++ b/lib/element.c @@ -753,7 +753,8 @@ asn1_write_value (asn1_node node_root, const char *name, * %ASN1_VALUE_NOT_FOUND if there isn't any value for the element * selected, and %ASN1_MEM_ERROR if The value vector isn't big enough * to store the result, and in this case @len will contain the number of - * bytes needed. + * bytes needed. On the occasion that the stored data are of zero-length + * this function may return %ASN1_SUCCESS even if the provided @len is zero. **/ int asn1_read_value (asn1_node root, const char *name, void *ivalue, int *len) @@ -826,7 +827,8 @@ asn1_read_value (asn1_node root, const char *name, void *ivalue, int *len) * %ASN1_VALUE_NOT_FOUND if there isn't any value for the element * selected, and %ASN1_MEM_ERROR if The value vector isn't big enough * to store the result, and in this case @len will contain the number of - * bytes needed. + * bytes needed. On the occasion that the stored data are of zero-length + * this function may return %ASN1_SUCCESS even if the provided @len is zero. **/ int asn1_read_value_type (asn1_node root, const char *name, void *ivalue, |