summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2005-11-15 15:54:56 +0000
committerSimon Josefsson <simon@josefsson.org>2005-11-15 15:54:56 +0000
commit24b276859b187a0e376ac958488c3860504b16d8 (patch)
tree576c6e5db43d1561758c5768c385ed4b9efdcc33 /tests
parentf8077a3320f9118cdad8f353c8fdaadf3cb99875 (diff)
downloadgnutls-24b276859b187a0e376ac958488c3860504b16d8.tar.gz
Indent.
Diffstat (limited to 'tests')
-rw-r--r--tests/pskself.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/pskself.c b/tests/pskself.c
index 14387b6de4..27d2f95a19 100644
--- a/tests/pskself.c
+++ b/tests/pskself.c
@@ -94,7 +94,8 @@ client (void)
gnutls_global_init ();
gnutls_psk_allocate_client_credentials (&pskcred);
- gnutls_psk_set_client_credentials (pskcred, "test", &key, GNUTLS_PSK_KEY_HEX);
+ gnutls_psk_set_client_credentials (pskcred, "test", &key,
+ GNUTLS_PSK_KEY_HEX);
/* Initialize TLS session
*/
@@ -216,8 +217,7 @@ generate_dh_params (void)
}
static int
-pskfunc (gnutls_session_t session,
- const char* username, gnutls_datum_t* key)
+pskfunc (gnutls_session_t session, const char *username, gnutls_datum_t * key)
{
printf ("psk: username %s\n", username);
key->data = gnutls_malloc (4);