From: Daniel Stenberg Date: Mon, 26 Apr 2021 07:57:44 +0000 (+0200) Subject: sigpipe: ignore SIGPIPE when using wolfSSL as well X-Git-Tag: curl-7_77_0~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ec1ef7f41d031805ff74243b05d12df5af9ee00;p=thirdparty%2Fcurl.git sigpipe: ignore SIGPIPE when using wolfSSL as well Closes #6966 --- diff --git a/lib/sigpipe.h b/lib/sigpipe.h index 430cfc6489..d6ec5fca3c 100644 --- a/lib/sigpipe.h +++ b/lib/sigpipe.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2020, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2021, Daniel Stenberg, , 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 struct sigpipe_ignore {