summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-23 20:29:02 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-23 20:29:02 +0100
commitd23e8f3918d401fbaa25a1342b5db368f9f3adef (patch)
tree115833ee1af20e7fc5247311b70a7e453b3066e9 /tests
parentf4e6030e0ee82a3d10ad9c0f55fad972d1c3a2c5 (diff)
downloadlibtasn1-d23e8f3918d401fbaa25a1342b5db368f9f3adef.tar.gz
libtasn1-d23e8f3918d401fbaa25a1342b5db368f9f3adef.tar.bz2
libtasn1-d23e8f3918d401fbaa25a1342b5db368f9f3adef.zip
renamed types
Diffstat (limited to 'tests')
-rw-r--r--tests/Test_strings.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Test_strings.c b/tests/Test_strings.c
index 8a6a9f7..c2b9da1 100644
--- a/tests/Test_strings.c
+++ b/tests/Test_strings.c
@@ -36,13 +36,13 @@ struct tv
};
static const struct tv tv[] = {
- {ASN1_ETYPE_IA5STRING, 20, "\x63\x73\x63\x61\x40\x70\x61\x73\x73\x70\x6f\x72\x74\x2e\x67\x6f\x76\x2e\x67\x72",
+ {ASN1_ETYPE_IA5_STRING, 20, "\x63\x73\x63\x61\x40\x70\x61\x73\x73\x70\x6f\x72\x74\x2e\x67\x6f\x76\x2e\x67\x72",
22, "\x16\x14\x63\x73\x63\x61\x40\x70\x61\x73\x73\x70\x6f\x72\x74\x2e\x67\x6f\x76\x2e\x67\x72"},
- {ASN1_ETYPE_PRINTABLESTRING, 5, "\x4e\x69\x6b\x6f\x73",
+ {ASN1_ETYPE_PRINTABLE_STRING, 5, "\x4e\x69\x6b\x6f\x73",
7, "\x13\x05\x4e\x69\x6b\x6f\x73"},
- {ASN1_ETYPE_UTF8STRING, 12, "Αττική",
+ {ASN1_ETYPE_UTF8_STRING, 12, "Αττική",
14, "\x0c\x0c\xce\x91\xcf\x84\xcf\x84\xce\xb9\xce\xba\xce\xae"},
- {ASN1_ETYPE_TELETEXSTRING, 15, "\x53\x69\x6d\x6f\x6e\x20\x4a\x6f\x73\x65\x66\x73\x73\x6f\x6e",
+ {ASN1_ETYPE_TELETEX_STRING, 15, "\x53\x69\x6d\x6f\x6e\x20\x4a\x6f\x73\x65\x66\x73\x73\x6f\x6e",
17, "\x14\x0f\x53\x69\x6d\x6f\x6e\x20\x4a\x6f\x73\x65\x66\x73\x73\x6f\x6e"},
{ASN1_ETYPE_OCTET_STRING, 36, "\x30\x22\x80\x0F\x32\x30\x31\x31\x30\x38\x32\x31\x30\x38\x30\x30\x30\x36\x5A\x81\x0F\x32\x30\x31\x31\x30\x38\x32\x33\x32\x30\x35\x39\x35\x39\x5A",
38, "\x04\x24\x30\x22\x80\x0F\x32\x30\x31\x31\x30\x38\x32\x31\x30\x38\x30\x30\x30\x36\x5A\x81\x0F\x32\x30\x31\x31\x30\x38\x32\x33\x32\x30\x35\x39\x35\x39\x5A"}