summaryrefslogtreecommitdiff
path: root/tests/dtls-rehandshake-anon.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dtls-rehandshake-anon.c')
-rw-r--r--tests/dtls-rehandshake-anon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dtls-rehandshake-anon.c b/tests/dtls-rehandshake-anon.c
index bef4f30643..e102a54b3e 100644
--- a/tests/dtls-rehandshake-anon.c
+++ b/tests/dtls-rehandshake-anon.c
@@ -306,7 +306,7 @@ static void server(int fd, int server_init)
ret = gnutls_handshake(session);
}
while (ret < 0
- && gnutls_error_is_fatal(ret) == 0);
+ && gnutls_error_is_fatal(ret) == 0);
if (ret == 0)
break;
}
@@ -319,7 +319,7 @@ static void server(int fd, int server_init)
do {
ret =
gnutls_record_send(session, buffer,
- strlen(buffer));
+ strlen(buffer));
} while (ret == GNUTLS_E_AGAIN
|| ret == GNUTLS_E_INTERRUPTED);
}