diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-05-17 08:15:00 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-05-17 08:15:41 +0200 |
commit | 44a4680d83fe4ff732e4e1b826c987bc5d67bd1c (patch) | |
tree | 8e714a6eae5ce493918ba981f3965482b40530d0 /tests | |
parent | 02d59b37540609c0be510642a8eb0f72799ca6c6 (diff) | |
download | libtasn1-44a4680d83fe4ff732e4e1b826c987bc5d67bd1c.tar.gz libtasn1-44a4680d83fe4ff732e4e1b826c987bc5d67bd1c.tar.bz2 libtasn1-44a4680d83fe4ff732e4e1b826c987bc5d67bd1c.zip |
Marked asn1_der_decoding_element() as deprecated.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Test_simple.c | 2 | ||||
-rw-r--r-- | tests/Test_tree.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/Test_simple.c b/tests/Test_simple.c index a8ddf8d..a846958 100644 --- a/tests/Test_simple.c +++ b/tests/Test_simple.c @@ -128,7 +128,7 @@ main (int argc, char *argv[]) if (result != ASN1_SUCCESS || ret_len != tv[i].derlen || bit_len != tv[i].bitlen) { - fprintf (stderr, "asn1_get_bit_der iter %lu\n", (unsigned long) i); + fprintf (stderr, "asn1_get_bit_der iter %lu, err: %d\n", (unsigned long) i, result); return 1; } } diff --git a/tests/Test_tree.c b/tests/Test_tree.c index fce392e..0b6a7df 100644 --- a/tests/Test_tree.c +++ b/tests/Test_tree.c @@ -33,6 +33,8 @@ #include <stdio.h> #include <string.h> #include <stdlib.h> + +#define ASN1_INTERNAL_BUILD #include "libtasn1.h" #include "Test_tree_asn1_tab.c" |