diff options
author | Tim Rühsen <tim.ruehsen@gmx.de> | 2020-01-20 11:48:50 +0100 |
---|---|---|
committer | Tim Rühsen <tim.ruehsen@gmx.de> | 2020-01-26 14:51:33 +0100 |
commit | eeb9a81456010c3b8d996c6514c5b44780b042fc (patch) | |
tree | 6fcde7b17ae1011ad8911f823cad2473b8faf01c | |
parent | 6378750c4eff68447bc4b813146a1127f4ff9a7b (diff) | |
download | gnutls-tmp-ci-make-j.tar.gz |
tests/key-material-dtls.c: Try again on GNUTLS_E_AGAIN and GNUTLS_E_INTERRUPTEDtmp-ci-make-j
This fixes issues on the CI cross-runners with 'make -jN', N > 1.
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
-rw-r--r-- | tests/key-material-dtls.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |