summaryrefslogtreecommitdiff
path: root/test/src/client.c
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-10-14 21:37:49 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2018-10-14 21:37:49 +0100
commit059f2aced50773fa38661a5a30c54260aee4bf55 (patch)
tree52248d51eed5beeaf6d285b354431f188f1cb34c /test/src/client.c
parentce80533b305c56d57cb7ec1484491f191132cf84 (diff)
tidying
Diffstat (limited to 'test/src/client.c')
-rw-r--r--test/src/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/client.c b/test/src/client.c
index 5b998e269..3a6b4ad3d 100644
--- a/test/src/client.c
+++ b/test/src/client.c
@@ -429,7 +429,7 @@ if (certificate != NULL)
{
rc = gnutls_certificate_set_x509_key_file(x509_cred, CS certificate,
CS privatekey, GNUTLS_X509_FMT_PEM);
- if (rc < 0) gnutls_error("gnutls_certificate", rc);
+ if (rc < 0) gnutls_error(US"gnutls_certificate", rc);
}
/* Associate the parameters with the x509 credentials structure. */
@@ -1169,7 +1169,7 @@ SSL_CTX_set_info_callback(srv.ctx, (void (*)())info_callback);
#ifdef HAVE_GNUTLS
if (certfile != NULL) printf("Certificate file = %s\n", certfile);
if (keyfile != NULL) printf("Key file = %s\n", keyfile);
-tls_init(certfile, keyfile);
+tls_init(US certfile, US keyfile);
tls_session = tls_session_init();
#ifdef HAVE_OCSP
if (ocsp_stapling)