summaryrefslogtreecommitdiff
path: root/tests/pskself.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-11-05 09:50:01 +0100
committerSimon Josefsson <simon@josefsson.org>2009-11-05 09:50:01 +0100
commite2a5fa157eb1c5fcc946a4690553497d2cb04c09 (patch)
tree159d5585846d1ffb7f06d03f4c4f0e46a1d487ba /tests/pskself.c
parent91b652d36dcb57db89d7edab6caa88d211f7d859 (diff)
downloadgnutls-e2a5fa157eb1c5fcc946a4690553497d2cb04c09.tar.gz
Indent code.
Diffstat (limited to 'tests/pskself.c')
-rw-r--r--tests/pskself.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/pskself.c b/tests/pskself.c
index d3e42f473f..6c74763c2b 100644
--- a/tests/pskself.c
+++ b/tests/pskself.c
@@ -56,7 +56,7 @@ client (void)
gnutls_psk_client_credentials_t pskcred;
/* Need to enable anonymous KX specifically. */
const int kx_prio[] = { GNUTLS_KX_PSK, 0 };
- const gnutls_datum_t key = { (char*) "DEADBEEF", 8 };
+ const gnutls_datum_t key = { (char *) "DEADBEEF", 8 };
gnutls_global_init ();
@@ -206,7 +206,8 @@ server_start (void)
sa_serv.sin_addr.s_addr = INADDR_ANY;
sa_serv.sin_port = htons (PORT); /* Server Port number */
- setsockopt (listen_sd, SOL_SOCKET, SO_REUSEADDR, (void *) &optval, sizeof (int));
+ setsockopt (listen_sd, SOL_SOCKET, SO_REUSEADDR, (void *) &optval,
+ sizeof (int));
err = bind (listen_sd, (SA *) & sa_serv, sizeof (sa_serv));
if (err == -1)