summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-08-13 10:06:20 +0200
committerSimon Josefsson <simon@josefsson.org>2009-08-13 10:06:20 +0200
commit17898f61acba956abc6f12b7ab2d95631080d959 (patch)
tree7f65d232a9f2582801619cab2e6bffd37081ee97
parent19e3f75f49699028e291cfdbd63346ef49b278ca (diff)
downloadgnutls-17898f61acba956abc6f12b7ab2d95631080d959.tar.gz
Fix.
-rw-r--r--tests/hostname-check.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/hostname-check.c b/tests/hostname-check.c
index 4ee3a38fb4..88e8edf1bf 100644
--- a/tests/hostname-check.c
+++ b/tests/hostname-check.c
@@ -890,12 +890,6 @@ doit (void)
else
success ("Hostname correctly does not match (%d)\n", ret);
- ret = gnutls_x509_crt_check_hostname (cert, "localhost");
- if (ret)
- success ("Hostname correctly matches (%d)\n", ret);
- else
- fail ("Hostname incorrectly does not match (%d)\n", ret);
-
gnutls_x509_crt_deinit (cert);
gnutls_global_deinit ();