[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU libtasn1 branch, master, updated. libtasn1_4.7-29-g45e0255
From: |
Nikos Mavrogiannopoulos |
Subject: |
[SCM] GNU libtasn1 branch, master, updated. libtasn1_4.7-29-g45e0255 |
Date: |
Thu, 07 Apr 2016 17:00:29 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU libtasn1".
http://git.savannah.gnu.org/cgit/libtasn1.git/commit/?id=45e02558981f053338e57d103c705fd533c35dbc
The branch, master has been updated
via 45e02558981f053338e57d103c705fd533c35dbc (commit)
via 39465cb227a122d99dc39be47aadd758980c36b5 (commit)
from a6e0a0b58f5cdaf4e9beca5bce69c09808cbb625 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
lib/decoding.c | 10 ++++++----
tests/Makefile.am | 2 +-
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/lib/decoding.c b/lib/decoding.c
index 4fff03e..2b2faf6 100644
--- a/lib/decoding.c
+++ b/lib/decoding.c
@@ -236,13 +236,15 @@ asn1_get_length_ber (const unsigned char *ber, int
ber_len, int *len)
/**
* asn1_get_octet_der:
* @der: DER data to decode containing the OCTET SEQUENCE.
- * @der_len: Length of DER data to decode.
- * @ret_len: Output variable containing the length of the DER data.
+ * @der_len: The length of the @der data to decode.
+ * @ret_len: Output variable containing the encoded length of the DER data.
* @str: Pre-allocated output buffer to put decoded OCTET SEQUENCE in.
* @str_size: Length of pre-allocated output buffer.
- * @str_len: Output variable containing the length of the OCTET SEQUENCE.
+ * @str_len: Output variable containing the length of the contents of the
OCTET SEQUENCE.
*
- * Extract an OCTET SEQUENCE from DER data.
+ * Extract an OCTET SEQUENCE from DER data. Note that this function
+ * expects the DER data past the tag field, i.e., the length and
+ * content octets.
*
* Returns: Returns %ASN1_SUCCESS on success, or an error.
**/
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 729a78e..6b10a1c 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -24,7 +24,7 @@ LDADD = ../lib/libtasn1.la ../gl/libgnu.la
EXTRA_DIST = Test_parser.asn Test_tree.asn Test_tree_asn1_tab.c \
Test_encoding.asn pkix.asn TestIndef.p12 choice.asn
coding-decoding2.asn \
- TestIndef2.p12 TestIndef3.der TestCertOctetOverflow.der invalidPKIX.der
\
+ TestIndef2.p12 TestIndef3.der TestCertOctetOverflow.der \
libtasn1.supp \
invalid-x509/id-000000.der invalid-x509/id-000001.der \
invalid-x509/id-000002.der invalid-x509/id-000003.der \
hooks/post-receive
--
GNU libtasn1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU libtasn1 branch, master, updated. libtasn1_4.7-29-g45e0255,
Nikos Mavrogiannopoulos <=