summaryrefslogtreecommitdiff
path: root/tests/Test_parser.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-10-08 15:23:13 +0200
committerSimon Josefsson <simon@josefsson.org>2008-10-08 15:23:13 +0200
commit2fdda6dc8ae0053f72f1e21dcab781d9da81d172 (patch)
tree0abc0dd9b0e4a9dc33435a90d6f8652f11b78686 /tests/Test_parser.c
parenta59d06403ef4e5392b2ab0784da6a935219457d0 (diff)
downloadlibtasn1-2fdda6dc8ae0053f72f1e21dcab781d9da81d172.tar.gz
libtasn1-2fdda6dc8ae0053f72f1e21dcab781d9da81d172.tar.bz2
libtasn1-2fdda6dc8ae0053f72f1e21dcab781d9da81d172.zip
Update usages of MAX_* constants.
Diffstat (limited to 'tests/Test_parser.c')
-rw-r--r--tests/Test_parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Test_parser.c b/tests/Test_parser.c
index e832180..72b0183 100644
--- a/tests/Test_parser.c
+++ b/tests/Test_parser.c
@@ -49,7 +49,7 @@ test_type test_array[]={
ASN1_SYNTAX_ERROR,_FILE_":6: parse error near 'TEST_PARSER'"},
{6,"TEST_PARSER { }",ASN1_SUCCESS,""},
- /* Test MAX_NAME_SIZE (128) */
+ /* Test ASN1_MAX_NAME_SIZE (128) */
{12,"a1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 ::= INTEGER",
ASN1_SUCCESS,""},
{12,"a12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 ::= INTEGER",
@@ -145,7 +145,7 @@ main(int argc,char *argv[])
{
asn1_retCode result;
ASN1_TYPE definitions=ASN1_TYPE_EMPTY;
- char errorDescription[MAX_ERROR_DESCRIPTION_SIZE];
+ char errorDescription[ASN1_MAX_ERROR_DESCRIPTION_SIZE];
test_type *test;
int errorCounter=0,testCounter=0;