From eeb9a81456010c3b8d996c6514c5b44780b042fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Mon, 20 Jan 2020 11:48:50 +0100 Subject: tests/key-material-dtls.c: Try again on GNUTLS_E_AGAIN and GNUTLS_E_INTERRUPTED MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes issues on the CI cross-runners with 'make -jN', N > 1. Signed-off-by: Tim Rühsen --- tests/key-material-dtls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/key-material-dtls.c b/tests/key-material-dtls.c index 82ed86625b..195afd0795 100644 --- a/tests/key-material-dtls.c +++ b/tests/key-material-dtls.c @@ -341,7 +341,7 @@ static void server(int fd) do { ret = gnutls_record_recv(session, buf, sizeof(buf)); - } while(ret > 0); + } while(ret > 0 || ret == GNUTLS_E_AGAIN || ret == GNUTLS_E_INTERRUPTED); if (ret < 0) { fail("error: %s\n", gnutls_strerror(ret)); -- cgit v1.2.1