summaryrefslogtreecommitdiff
path: root/tests/utils-adv.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2016-09-11 12:21:59 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-09-11 13:21:04 +0200
commitaa2cc04b9ef04404b719db5d693e6f146dbe026a (patch)
tree469b7b176428d24e797ae39105705eea45ef1901 /tests/utils-adv.c
parent09f1d96b662d34c55de9903a8a890ad887bcd699 (diff)
downloadgnutls-aa2cc04b9ef04404b719db5d693e6f146dbe026a.tar.gz
several spacing fixes to keep syntax-check happy
Diffstat (limited to 'tests/utils-adv.c')
-rw-r--r--tests/utils-adv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/utils-adv.c b/tests/utils-adv.c
index 9e6ffdb9f3..8dbc441560 100644
--- a/tests/utils-adv.c
+++ b/tests/utils-adv.c
@@ -40,7 +40,7 @@ void
test_cli_serv(gnutls_certificate_credentials_t server_cred,
gnutls_certificate_credentials_t client_cred,
const char *prio, const char *host,
- void *priv, callback_func *client_cb, callback_func *server_cb)
+ void *priv, callback_func *client_cb, callback_func *server_cb)
{
int exit_code = EXIT_SUCCESS;
int ret;
@@ -57,7 +57,7 @@ test_cli_serv(gnutls_certificate_credentials_t server_cred,
/* Init server */
gnutls_init(&server, GNUTLS_SERVER);
gnutls_credentials_set(server, GNUTLS_CRD_CERTIFICATE,
- server_cred);
+ server_cred);
gnutls_priority_set_direct(server, prio, NULL);
gnutls_transport_set_push_function(server, server_push);
gnutls_transport_set_pull_function(server, server_pull);
@@ -71,7 +71,7 @@ test_cli_serv(gnutls_certificate_credentials_t server_cred,
assert(gnutls_server_name_set(client, GNUTLS_NAME_DNS, host, strlen(host))>=0);
ret = gnutls_credentials_set(client, GNUTLS_CRD_CERTIFICATE,
- client_cred);
+ client_cred);
if (ret < 0)
exit(1);