diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-09-14 18:08:19 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-09-14 18:08:19 +0200 |
commit | 5d8044833ffaa6bbf9591956f216a1eb749bdef7 (patch) | |
tree | 830fed0b4a05234f85783fddcbef9910fcb69643 /tests | |
parent | fde3a0605bf8a6260618290b72f79c5d93ce135b (diff) | |
download | libtasn1-5d8044833ffaa6bbf9591956f216a1eb749bdef7.tar.gz libtasn1-5d8044833ffaa6bbf9591956f216a1eb749bdef7.tar.bz2 libtasn1-5d8044833ffaa6bbf9591956f216a1eb749bdef7.zip |
Corrected the test.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Test_parser.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/Test_parser.c b/tests/Test_parser.c index 76daf09..fd56210 100644 --- a/tests/Test_parser.c +++ b/tests/Test_parser.c @@ -52,13 +52,12 @@ test_type test_array[] = { /* Test ASN1_MAX_NAME_SIZE (128) */ {12, - "a1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 ::= INTEGER", + "a123456789012345678901234567890123456789012345678901234567890123 ::= INTEGER", ASN1_SUCCESS, ""}, {12, - "a12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 ::= INTEGER", + "a1234567890123456789012345678901234567890123456789012345678901234 ::= INTEGER", ASN1_NAME_TOO_LONG, - _FILE_ ":12: name too long (more than 128 characters)"}, - + _FILE_ ":12: name too long (more than 64 characters)"}, /* Test 'check identifier' function */ {12, "ident1 ::= ident2 ident2 ::= INTEGER", ASN1_SUCCESS, ""}, @@ -101,7 +100,6 @@ test_type test_array[] = { {20, " oid1 OBJECT IDENTIFIER DEFAULT Oid-type1", ASN1_SUCCESS, ""}, - /* end */ {0} }; |