summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-11-22 10:24:49 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-11-23 15:05:58 +0100
commit9e3935bf8c7b1a09eae17bd4b3d6da716a01ef9a (patch)
tree75d0f9d65044eb7209239cd512b2913f9e7d5389
parent9fd6f41060ca16f9abf60bed917b78ae94410deb (diff)
downloadgnutls-tmp-uninorm-idna2008.tar.gz
tests: updated tests for IDNA2008tmp-uninorm-idna2008
-rw-r--r--tests/set_key_utf8.c2
-rw-r--r--tests/set_x509_key_utf8.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/set_key_utf8.c b/tests/set_key_utf8.c
index adbb16aeaf..0e88fedcc9 100644
--- a/tests/set_key_utf8.c
+++ b/tests/set_key_utf8.c
@@ -137,7 +137,7 @@ static void auto_parse(void)
test_cli_serv(x509_cred, clicred, "NORMAL", "localhost", NULL, NULL, NULL); /* the DNS name of the first cert */
test_cli_serv(x509_cred, clicred, "NORMAL", "www.νίκος.com", NULL, NULL, NULL); /* the DNS name of second cert */
test_cli_serv(x509_cred, clicred, "NORMAL", "raw:www.νίκος.com", NULL, NULL, NULL); /* the DNS name of second cert */
- test_cli_serv(x509_cred, clicred, "NORMAL", "www.xn--kxawhku.com", NULL, NULL, NULL); /* the previous name in IDNA format */
+ test_cli_serv(x509_cred, clicred, "NORMAL", "www.xn--kxawhkp.com", NULL, NULL, NULL); /* the previous name in IDNA format */
test_cli_serv(x509_cred, clicred, "NORMAL", "简体中文.εξτρα.com", NULL, NULL, NULL); /* the second DNS name of cert */
test_cli_serv(x509_cred, clicred, "NORMAL", "raw:简体中文.εξτρα.com", NULL, NULL, NULL); /* the second DNS name of cert */
test_cli_serv(x509_cred, clicred, "NORMAL", "xn--fiqu1az03c18t.xn--mxah1amo.com", NULL, NULL, NULL); /* its IDNA equivalent */
diff --git a/tests/set_x509_key_utf8.c b/tests/set_x509_key_utf8.c
index 838ec84028..6a7c61551b 100644
--- a/tests/set_x509_key_utf8.c
+++ b/tests/set_x509_key_utf8.c
@@ -175,7 +175,7 @@ void doit(void)
test_cli_serv(x509_cred, clicred, "NORMAL", "localhost", NULL, NULL, NULL);
test_cli_serv(x509_cred, clicred, "NORMAL", "www.νίκος.com", NULL, NULL, NULL); /* the DNS name of second cert */
test_cli_serv(x509_cred, clicred, "NORMAL", "raw:www.νίκος.com", NULL, NULL, NULL); /* the DNS name of second cert */
- test_cli_serv(x509_cred, clicred, "NORMAL", "www.xn--kxawhku.com", NULL, NULL, NULL); /* the previous name in IDNA format */
+ test_cli_serv(x509_cred, clicred, "NORMAL", "www.xn--kxawhkp.com", NULL, NULL, NULL); /* the previous name in IDNA format */
test_cli_serv(x509_cred, clicred, "NORMAL", "简体中文.εξτρα.com", NULL, NULL, NULL); /* the second DNS name of cert */
test_cli_serv(x509_cred, clicred, "NORMAL", "raw:简体中文.εξτρα.com", NULL, NULL, NULL); /* the second DNS name of cert */
test_cli_serv(x509_cred, clicred, "NORMAL", "xn--fiqu1az03c18t.xn--mxah1amo.com", NULL, NULL, NULL); /* its IDNA equivalent */