summaryrefslogtreecommitdiff
path: root/tests/cert_verify_inv_utf8.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-07-20 08:22:10 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-07-21 09:52:25 +0200
commitc3f23216e789241431058617ada1c39e7d9f09b5 (patch)
treedf0c7c357be3fcd7c76a6dbb7475ba4b2b3f4886 /tests/cert_verify_inv_utf8.c
parent88b4f9036aefd0f8e20de6cae56b62be7a721b70 (diff)
downloadgnutls-c3f23216e789241431058617ada1c39e7d9f09b5.tar.gz
tests: updated to reflect the fact that invalid dns names are rejected
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'tests/cert_verify_inv_utf8.c')
-rw-r--r--tests/cert_verify_inv_utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cert_verify_inv_utf8.c b/tests/cert_verify_inv_utf8.c
index a424e51075..4afd52311d 100644
--- a/tests/cert_verify_inv_utf8.c
+++ b/tests/cert_verify_inv_utf8.c
@@ -137,7 +137,7 @@ static void auto_parse(void)
test_cli_serv_expect(x509_cred, clicred, "NORMAL", "NORMAL", "localhost", 0, 0);
test_cli_serv_vf(x509_cred, clicred, "NORMAL", "www.νίκοσ.com");
test_cli_serv_vf(x509_cred, clicred, "NORMAL", "www.νίκος.com");
- test_cli_serv_vf(x509_cred, clicred, "NORMAL", "raw:www.νίκος.com");
+ test_cli_serv_expect(x509_cred, clicred, "NORMAL", "NORMAL", "raw:www.νίκος.com", GNUTLS_E_RECEIVED_ILLEGAL_PARAMETER, GNUTLS_E_AGAIN);
gnutls_certificate_free_credentials(x509_cred);
gnutls_certificate_free_credentials(clicred);