summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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