summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-11-10 10:23:13 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-11-10 10:23:13 +0100
commit27b3fdbbe7ee26ef22de9abcd9b9aaa6f645c5be (patch)
treec726c7cbf8a84dc37177395dd0663b6bc7daacfd
parentd282759463279ac4559662d24c12211f2ff56bf0 (diff)
downloadgnutls-27b3fdbbe7ee26ef22de9abcd9b9aaa6f645c5be.tar.gz
Ignore SIGPIPE.
Diagnosed by Petr Salinger and Steven Chamberlain. Reported by Andreas Metzler.
-rw-r--r--tests/mini-handshake-timeout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/mini-handshake-timeout.c b/tests/mini-handshake-timeout.c
index 0b220097ab..2dca76db00 100644
--- a/tests/mini-handshake-timeout.c
+++ b/tests/mini-handshake-timeout.c
@@ -234,6 +234,7 @@ void
doit (void)
{
signal(SIGCHLD, ch_handler);
+ signal(SIGPIPE, SIG_IGN);
/* make sure that normal handshake occurs */
start(0);