summaryrefslogtreecommitdiff
path: root/tests/rehandshake-switch-psk-id.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rehandshake-switch-psk-id.c')
-rw-r--r--tests/rehandshake-switch-psk-id.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rehandshake-switch-psk-id.c b/tests/rehandshake-switch-psk-id.c
index 4b2a50e2e0..ebe4c10eed 100644
--- a/tests/rehandshake-switch-psk-id.c
+++ b/tests/rehandshake-switch-psk-id.c
@@ -96,7 +96,7 @@ static void try(const char *prio, gnutls_kx_algorithm_t kx, unsigned allow_chang
else
gnutls_init(&server, GNUTLS_SERVER);
gnutls_credentials_set(server, GNUTLS_CRD_PSK,
- serverpskcred);
+ serverpskcred);
gnutls_priority_set_direct(server,
prio,
@@ -126,7 +126,7 @@ static void try(const char *prio, gnutls_kx_algorithm_t kx, unsigned allow_chang
exit(1);
ret = gnutls_credentials_set(client, GNUTLS_CRD_PSK,
- clientpskcred);
+ clientpskcred);
if (ret < 0)
exit(1);
@@ -149,7 +149,7 @@ static void try(const char *prio, gnutls_kx_algorithm_t kx, unsigned allow_chang
/* switch client's username and rehandshake */
ret = gnutls_credentials_set(client, GNUTLS_CRD_PSK,
- clientpskcred2);
+ clientpskcred2);
if (ret < 0)
exit(1);