summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-04-26 09:57:44 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-04-26 12:59:42 +0200
commit9ec1ef7f41d031805ff74243b05d12df5af9ee00 (patch)
tree0ed243080f3e88ca384ce096cc47c8648f77bf29
parent7fdf01f32e8b1f0f89ea7d1086df04749dea415b (diff)
downloadcurl-9ec1ef7f41d031805ff74243b05d12df5af9ee00.tar.gz
sigpipe: ignore SIGPIPE when using wolfSSL as well
Closes #6966
-rw-r--r--lib/sigpipe.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sigpipe.h b/lib/sigpipe.h
index 430cfc648..d6ec5fca3 100644
--- a/lib/sigpipe.h
+++ b/lib/sigpipe.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -24,7 +24,7 @@
#include "curl_setup.h"
#if defined(HAVE_SIGNAL_H) && defined(HAVE_SIGACTION) && \
- (defined(USE_OPENSSL) || defined(USE_MBEDTLS))
+ (defined(USE_OPENSSL) || defined(USE_MBEDTLS) || defined(USE_WOLFSSL))
#include <signal.h>
struct sigpipe_ignore {