From 58bdb225460edf754744333de6c289e496a1d744 Mon Sep 17 00:00:00 2001 From: Tim Ruehsen Date: Wed, 18 Jun 2014 15:36:26 +0200 Subject: [PATCH] revoked UTF-8 IDNA comments --- tests/test-is-public-builtin.c | 6 +++--- tests/test-is-public.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test-is-public-builtin.c b/tests/test-is-public-builtin.c index ffcac12..2ccde36 100644 --- a/tests/test-is-public-builtin.c +++ b/tests/test-is-public-builtin.c @@ -47,8 +47,8 @@ static int static void test_psl(void) { - /* punycode generation: idn 商标 */ - /* octal code generation: echo -n "商标" | od -b */ + /* punycode generation: idn ?? */ + /* octal code generation: echo -n "??" | od -b */ static const struct test_data { const char *domain; @@ -65,7 +65,7 @@ static void test_psl(void) { "abc.www.ck", 0 }, { "xxx.ck", 1 }, { "www.xxx.ck", 0 }, - { "\345\225\206\346\240\207", 1 }, /* xn--czr694b oder 商标 */ + { "\345\225\206\346\240\207", 1 }, /* xn--czr694b oder ?? */ { "www.\345\225\206\346\240\207", 0 }, { "xn--czr694b", 1 }, { "www.xn--czr694b", 0 }, diff --git a/tests/test-is-public.c b/tests/test-is-public.c index fdc60b9..0afbdd7 100644 --- a/tests/test-is-public.c +++ b/tests/test-is-public.c @@ -47,8 +47,8 @@ static int static void test_psl(void) { - /* punycode generation: idn 商标 */ - /* octal code generation: echo -n "商标" | od -b */ + /* punycode generation: idn ?? */ + /* octal code generation: echo -n "??" | od -b */ static const struct test_data { const char *domain; @@ -65,7 +65,7 @@ static void test_psl(void) { "abc.www.ck", 0 }, { "xxx.ck", 1 }, { "www.xxx.ck", 0 }, - { "\345\225\206\346\240\207", 1 }, /* xn--czr694b or 商标 */ + { "\345\225\206\346\240\207", 1 }, /* xn--czr694b or ?? */ { "www.\345\225\206\346\240\207", 0 }, /* some special test follow ('name' and 'forgot.his.name' are public, but e.g. his.name is not) */ { "name", 1 },