diff options
Diffstat (limited to 'tests/tls-rehandshake-cert-2.c')
-rw-r--r-- | tests/tls-rehandshake-cert-2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/tls-rehandshake-cert-2.c b/tests/tls-rehandshake-cert-2.c index c352a11acb..c096519210 100644 --- a/tests/tls-rehandshake-cert-2.c +++ b/tests/tls-rehandshake-cert-2.c @@ -177,7 +177,7 @@ static void client(int fd, unsigned test) do { ret = gnutls_record_recv(session, buffer, - MAX_BUF); + MAX_BUF); } while (ret == GNUTLS_E_AGAIN || ret == GNUTLS_E_INTERRUPTED); } while (ret > 0); @@ -193,7 +193,7 @@ static void client(int fd, unsigned test) do { ret = gnutls_record_recv(session, buffer, - MAX_BUF); + MAX_BUF); } while (ret == GNUTLS_E_AGAIN || ret == GNUTLS_E_INTERRUPTED); } while (ret > 0); @@ -313,7 +313,7 @@ static void server(int fd, unsigned test) do { ret = gnutls_record_recv(session, buffer, - MAX_BUF); + MAX_BUF); } while (ret == GNUTLS_E_AGAIN || ret == GNUTLS_E_INTERRUPTED); } while (ret > 0); @@ -363,7 +363,7 @@ static void server(int fd, unsigned test) do { ret = gnutls_record_recv(session, buffer, - MAX_BUF); + MAX_BUF); } while (ret == GNUTLS_E_AGAIN || ret == GNUTLS_E_INTERRUPTED); } while (ret > 0); |