summaryrefslogtreecommitdiff
path: root/lib/decoding.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-05-30 15:17:10 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-05-30 15:21:33 +0200
commite7baaf725a397546be2ecc90d36b005f5d6d1061 (patch)
treee25e105e39f8d6932eb1525f54da14326827a8a2 /lib/decoding.c
parente2e5b1d44456d6e99fb3765f2370630a2059994b (diff)
downloadlibtasn1-e7baaf725a397546be2ecc90d36b005f5d6d1061.tar.gz
libtasn1-e7baaf725a397546be2ecc90d36b005f5d6d1061.tar.bz2
libtasn1-e7baaf725a397546be2ecc90d36b005f5d6d1061.zip
doc update
Diffstat (limited to 'lib/decoding.c')
-rw-r--r--lib/decoding.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/decoding.c b/lib/decoding.c
index 510bb67..8f6fe8a 100644
--- a/lib/decoding.c
+++ b/lib/decoding.c
@@ -880,11 +880,12 @@ static void delete_unneeded_choice_fields(asn1_node p)
* @errorDescription: null-terminated string contains details when an
* error occurred.
*
- * Fill the structure *@ELEMENT with values of a DER encoding
+ * Fill the structure *@element with values of a DER encoding
* string. The structure must just be created with function
- * asn1_create_element(). If an error occurs during the decoding
- * procedure, the *@ELEMENT is deleted and set equal to
- * %NULL.
+ * asn1_create_element().
+ *
+ * Note that the *@element variable is provided as a pointer for
+ * historical reasons.
*
* Returns: %ASN1_SUCCESS if DER encoding OK, %ASN1_ELEMENT_NOT_FOUND
* if @ELEMENT is %NULL, and %ASN1_TAG_ERROR or