summaryrefslogtreecommitdiff
path: root/tests/set_x509_key_utf8.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/set_x509_key_utf8.c')
-rw-r--r--tests/set_x509_key_utf8.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/set_x509_key_utf8.c b/tests/set_x509_key_utf8.c
index fc1ba38b23..7cc5b99ea8 100644
--- a/tests/set_x509_key_utf8.c
+++ b/tests/set_x509_key_utf8.c
@@ -175,9 +175,10 @@ void doit(void)
test_cli_serv(x509_cred, clicred, "NORMAL", "localhost", NULL, NULL, NULL);
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", "简体中文.εξτρα.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 */
+ test_cli_serv_expect(x509_cred, clicred, "NORMAL", "NORMAL", "raw:简体中文.εξτρα.com", GNUTLS_E_RECEIVED_ILLEGAL_PARAMETER, GNUTLS_E_AGAIN);
+
gnutls_certificate_free_credentials(x509_cred);
gnutls_certificate_free_credentials(clicred);