diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-04-26 09:57:44 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-04-26 09:57:44 +0200 |
commit | 10a9d7687ad5b7545831305faa6a4091c6190224 (patch) | |
tree | fc2f98746733eaab0ad3543570202b0d061718ad | |
parent | f2e1163bc89be3d1675cd0de4d746cc71d28ea43 (diff) | |
download | curl-bagder/wolfssl-ignorepipe.tar.gz |
sigpipe: ignore SIGPIPE when using wolfSSL as wellbagder/wolfssl-ignorepipe
-rw-r--r-- | lib/sigpipe.h | 4 |
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 { |