diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-11-15 20:35:18 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-11-15 20:35:18 +0100 |
commit | e8ed244bb4f1c0df84f101cd672347413723d89c (patch) | |
tree | ac6b097b7838470e2e077243cb13c3d026b21806 /tests/dtls-with-seccomp.c | |
parent | 8f79971417180584ba56488815a768cb10a7db87 (diff) | |
download | gnutls-e8ed244bb4f1c0df84f101cd672347413723d89c.tar.gz |
tests: made seccomp tests more reliable by waiting for each side to terminate
Diffstat (limited to 'tests/dtls-with-seccomp.c')
-rw-r--r-- | tests/dtls-with-seccomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dtls-with-seccomp.c b/tests/dtls-with-seccomp.c index ed2be69724..f31dd9a8e4 100644 --- a/tests/dtls-with-seccomp.c +++ b/tests/dtls-with-seccomp.c @@ -144,7 +144,7 @@ static void client(int fd) exit(1); } - ret = gnutls_bye(session, GNUTLS_SHUT_WR); + ret = gnutls_bye(session, GNUTLS_SHUT_RDWR); if (ret < 0) { fail("server: error in closing session: %s\n", gnutls_strerror(ret)); } |