summaryrefslogtreecommitdiff
path: root/tests/tlsia.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tlsia.c')
-rw-r--r--tests/tlsia.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/tlsia.c b/tests/tlsia.c
index fff10a8595..cc1dbce345 100644
--- a/tests/tlsia.c
+++ b/tests/tlsia.c
@@ -262,7 +262,7 @@ static gnutls_dh_params_t dh_params;
static int
generate_dh_params (void)
{
- const gnutls_datum_t p3 = { (char*) pkcs3, strlen (pkcs3) };
+ const gnutls_datum_t p3 = { (char *) pkcs3, strlen (pkcs3) };
/* Generate Diffie-Hellman parameters - for use with DHE
* kx algorithms. These should be discarded and regenerated
* once a day, once a week or once a month. Depending on the
@@ -378,7 +378,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)