]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
sigpipe: ignore SIGPIPE when using wolfSSL as well
authorDaniel Stenberg <daniel@haxx.se>
Mon, 26 Apr 2021 07:57:44 +0000 (09:57 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 26 Apr 2021 10:59:42 +0000 (12:59 +0200)
Closes #6966

lib/sigpipe.h

index 430cfc64891364af0a74481a40538b0f64acf5a9..d6ec5fca3c1ce329d8f178a1b5240e14fa1ced7c 100644 (file)
@@ -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 {