summaryrefslogtreecommitdiff
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
parente2e5b1d44456d6e99fb3765f2370630a2059994b (diff)
downloadlibtasn1-e7baaf725a397546be2ecc90d36b005f5d6d1061.tar.gz
libtasn1-e7baaf725a397546be2ecc90d36b005f5d6d1061.tar.bz2
libtasn1-e7baaf725a397546be2ecc90d36b005f5d6d1061.zip
doc update
-rw-r--r--NEWS3
-rw-r--r--lib/decoding.c9
2 files changed, 8 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index 7fbeb31..95d76d5 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,9 @@ GNU Libtasn1 NEWS -*- outline -*-
* Noteworthy changes in release 3.7 (unreleased) [stable]
- asn1_der_decoding_element() is an alias to asn1_der_decoding().
+- optimized asn1_der_decoding_startEnd(). It only performs the decoding
+ step, if it is not already done.
+- Added asn1_copy_node2().
- Fixes in DER decoding.
* Noteworthy changes in release 3.6 (released 2014-05-25) [stable]
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