summaryrefslogtreecommitdiff
path: root/tests/set_x509_pkcs12_key.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/set_x509_pkcs12_key.c')
-rw-r--r--tests/set_x509_pkcs12_key.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/set_x509_pkcs12_key.c b/tests/set_x509_pkcs12_key.c
index 794d0e628d..4ef8239503 100644
--- a/tests/set_x509_pkcs12_key.c
+++ b/tests/set_x509_pkcs12_key.c
@@ -95,10 +95,12 @@ void doit(void)
exit(1);
}
- compare(&tcert, server_ca3_cert_pem);
+ compare(&tcert, server_localhost_ca3_cert_pem);
remove(certfile);
+ test_cli_serv(xcred, "NORMAL", &ca3_cert, "localhost"); /* the DNS name of the first cert */
+
gnutls_certificate_free_credentials(xcred);
gnutls_global_deinit();
}