diff options
Diffstat (limited to 'tests/tls13/no-psk-exts.c')
-rw-r--r-- | tests/tls13/no-psk-exts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tls13/no-psk-exts.c b/tests/tls13/no-psk-exts.c index e8f1e2e84f..c1c25fdf16 100644 --- a/tests/tls13/no-psk-exts.c +++ b/tests/tls13/no-psk-exts.c @@ -216,7 +216,7 @@ static void server(int fd) static void ch_handler(int sig) { - int status; + int status = 0; wait(&status); check_wait_status(status); return; @@ -229,6 +229,7 @@ void doit(void) pid_t child; signal(SIGCHLD, ch_handler); + signal(SIGPIPE, SIG_IGN); ret = socketpair(AF_UNIX, SOCK_STREAM, 0, fd); if (ret < 0) { |