diff options
author | Simon Josefsson <simon@josefsson.org> | 2009-11-05 09:50:01 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2009-11-05 09:50:01 +0100 |
commit | e2a5fa157eb1c5fcc946a4690553497d2cb04c09 (patch) | |
tree | 159d5585846d1ffb7f06d03f4c4f0e46a1d487ba /tests/pskself.c | |
parent | 91b652d36dcb57db89d7edab6caa88d211f7d859 (diff) | |
download | gnutls-e2a5fa157eb1c5fcc946a4690553497d2cb04c09.tar.gz |
Indent code.
Diffstat (limited to 'tests/pskself.c')
-rw-r--r-- | tests/pskself.c | 5 |
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) |