mirror of
https://github.com/curl/curl.git
synced 2026-04-14 21:31:42 +03:00
lib: include curlx/warnless.h from curl_setup.h
To make it available for all files. Drop includes from individual sources. This header was already included from most sources and not specific to any internal subsystem. Also to ensure that two system symbol redefines on Windows (`read()` and `write()`) get applied to all sources. Move them to `curl_setup.h`. Closes #20056
This commit is contained in:
parent
70651cb6de
commit
884b5ea921
71 changed files with 13 additions and 84 deletions
|
|
@ -34,7 +34,6 @@
|
|||
#include "curl_get_line.h"
|
||||
#include "parsedate.h"
|
||||
#include "sendf.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "curlx/inet_pton.h"
|
||||
#include "curlx/strparse.h"
|
||||
#include "curlx/timeval.h"
|
||||
|
|
|
|||
|
|
@ -43,7 +43,6 @@
|
|||
#include "multiif.h"
|
||||
#include "sendf.h"
|
||||
#include "select.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "cf-h2-proxy.h"
|
||||
|
||||
#define PROXY_H2_CHUNK_SIZE (16 * 1024)
|
||||
|
|
|
|||
|
|
@ -66,7 +66,6 @@
|
|||
#include "multiif.h"
|
||||
#include "curlx/inet_pton.h"
|
||||
#include "progress.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "conncache.h"
|
||||
#include "multihandle.h"
|
||||
#include "rand.h"
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@
|
|||
#include "sendf.h"
|
||||
#include "progress.h"
|
||||
#include "select.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "curlx/strparse.h"
|
||||
|
||||
static void cf_cntrl_update_info(struct Curl_easy *data,
|
||||
|
|
|
|||
|
|
@ -64,7 +64,6 @@
|
|||
#include "curlx/strparse.h"
|
||||
#include "vtls/vtls.h" /* for vtsl cfilters */
|
||||
#include "progress.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "conncache.h"
|
||||
#include "multihandle.h"
|
||||
#include "http_proxy.h"
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@
|
|||
#include "curl_addrinfo.h"
|
||||
#include "fake_addrinfo.h"
|
||||
#include "curlx/inet_pton.h"
|
||||
#include "curlx/warnless.h"
|
||||
|
||||
/*
|
||||
* Curl_freeaddrinfo()
|
||||
|
|
|
|||
|
|
@ -114,7 +114,6 @@
|
|||
#include "curl_ntlm_core.h"
|
||||
#include "curl_md5.h"
|
||||
#include "curl_hmac.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "curl_md4.h"
|
||||
#include "vauth/vauth.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@
|
|||
#include "progress.h" /* for Curl_pgrsSetUploadSize */
|
||||
#include "transfer.h"
|
||||
#include "bufref.h"
|
||||
#include "curlx/warnless.h"
|
||||
|
||||
#include <librtmp/rtmp.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -44,7 +44,6 @@
|
|||
#include "vauth/vauth.h"
|
||||
#include "cfilters.h"
|
||||
#include "curl_sasl.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "sendf.h"
|
||||
|
||||
/* Supported mechanisms */
|
||||
|
|
|
|||
|
|
@ -779,6 +779,18 @@
|
|||
#include "curl_setup_once.h"
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Macros and functions to safely suppress warnings
|
||||
*/
|
||||
#include "curlx/warnless.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
# undef read
|
||||
# define read(fd, buf, count) (ssize_t)_read(fd, buf, curlx_uztoui(count))
|
||||
# undef write
|
||||
# define write(fd, buf, count) (ssize_t)_write(fd, buf, curlx_uztoui(count))
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Definition of our NOP statement Object-like macro
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@
|
|||
#if !defined(CURL_DISABLE_DIGEST_AUTH) && !defined(CURL_DISABLE_SHA512_256)
|
||||
|
||||
#include "curl_sha512_256.h"
|
||||
#include "curlx/warnless.h"
|
||||
|
||||
/* The recommended order of the TLS backends:
|
||||
* 1. OpenSSL
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@
|
|||
#include "curl_sspi.h"
|
||||
#include "strdup.h"
|
||||
#include "curlx/multibyte.h"
|
||||
#include "curlx/warnless.h"
|
||||
|
||||
/* Pointer to SSPI dispatch table */
|
||||
PSecurityFunctionTable Curl_pSecFn = NULL;
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
|
||||
#include "../curl_setup.h"
|
||||
|
||||
#include "warnless.h"
|
||||
#include "base64.h"
|
||||
|
||||
/* ---- Base64 Encoding/Decoding Table --- */
|
||||
|
|
|
|||
|
|
@ -37,14 +37,6 @@
|
|||
#include "nonblock.h"
|
||||
/* "nonblock.h" provides curlx_nonblock() */
|
||||
|
||||
#include "warnless.h"
|
||||
/* "warnless.h" provides functions:
|
||||
|
||||
curlx_ultous()
|
||||
curlx_ultouc()
|
||||
curlx_uztosi()
|
||||
*/
|
||||
|
||||
#include "multibyte.h"
|
||||
/* "multibyte.h" provides these functions and macros:
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@
|
|||
#ifdef _WIN32
|
||||
|
||||
#include "version_win32.h"
|
||||
#include "warnless.h"
|
||||
|
||||
/* This Unicode version struct works for VerifyVersionInfoW (OSVERSIONINFOEXW)
|
||||
and RtlVerifyVersionInfo (RTLOSVERSIONINFOEXW) */
|
||||
|
|
|
|||
|
|
@ -73,11 +73,4 @@ bool curlx_sotouz_fits(curl_off_t sonum, size_t *puznum);
|
|||
* and set 0 */
|
||||
bool curlx_sltouz(long sznum, size_t *puznum);
|
||||
|
||||
#ifdef _WIN32
|
||||
#undef read
|
||||
#define read(fd, buf, count) (ssize_t)_read(fd, buf, curlx_uztoui(count))
|
||||
#undef write
|
||||
#define write(fd, buf, count) (ssize_t)_write(fd, buf, curlx_uztoui(count))
|
||||
#endif
|
||||
|
||||
#endif /* HEADER_CURL_WARNLESS_H */
|
||||
|
|
|
|||
|
|
@ -64,7 +64,6 @@
|
|||
#include "mime.h"
|
||||
#include "amigaos.h"
|
||||
#include "macos.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "curlx/wait.h"
|
||||
#include "sigpipe.h"
|
||||
#include "vssh/ssh.h"
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@
|
|||
struct Curl_easy;
|
||||
|
||||
#include "urldata.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "escape.h"
|
||||
#include "curlx/strparse.h"
|
||||
#include "curl_printf.h"
|
||||
|
|
|
|||
|
|
@ -65,7 +65,6 @@
|
|||
#include "parsedate.h" /* for the week day and month names */
|
||||
#include "curlx/fopen.h"
|
||||
#include "curlx/timeval.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "curl_range.h"
|
||||
|
||||
#if defined(_WIN32) || defined(MSDOS)
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@ struct Curl_easy;
|
|||
#include "strdup.h"
|
||||
#include "bufref.h"
|
||||
#include "curlx/fopen.h"
|
||||
#include "curlx/warnless.h"
|
||||
|
||||
|
||||
#define HTTPPOST_PTRNAME CURL_HTTPPOST_PTRNAME
|
||||
|
|
|
|||
|
|
@ -64,7 +64,6 @@
|
|||
#include "sockaddr.h" /* required for Curl_sockaddr_storage */
|
||||
#include "multiif.h"
|
||||
#include "url.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "http_proxy.h"
|
||||
#include "strdup.h"
|
||||
#include "curlx/strerr.h"
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@
|
|||
#include "select.h"
|
||||
#include "url.h"
|
||||
#include "escape.h"
|
||||
#include "curlx/warnless.h"
|
||||
|
||||
/*
|
||||
* Forward declarations.
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@
|
|||
defined(USE_SSL)
|
||||
|
||||
#include "curl_hmac.h"
|
||||
#include "curlx/warnless.h"
|
||||
|
||||
/*
|
||||
* Generic HMAC algorithm.
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@
|
|||
#include "curlx/inet_pton.h"
|
||||
#include "multiif.h"
|
||||
#include "doh.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "progress.h"
|
||||
#include "select.h"
|
||||
#include "strcase.h"
|
||||
|
|
|
|||
|
|
@ -74,7 +74,6 @@
|
|||
#include "strcase.h"
|
||||
#include "content_encoding.h"
|
||||
#include "http_proxy.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "http2.h"
|
||||
#include "cfilters.h"
|
||||
#include "connect.h"
|
||||
|
|
|
|||
|
|
@ -46,7 +46,6 @@
|
|||
#include "transfer.h"
|
||||
#include "bufref.h"
|
||||
#include "curlx/dynbuf.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "headers.h"
|
||||
|
||||
#if (NGHTTP2_VERSION_NUM < 0x010c00)
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@
|
|||
#include "http.h"
|
||||
#include "multiif.h"
|
||||
#include "curlx/strparse.h"
|
||||
#include "curlx/warnless.h"
|
||||
|
||||
/*
|
||||
* Chunk format (simplified):
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@
|
|||
#include "urldata.h"
|
||||
#include "idn.h"
|
||||
#include "sendf.h"
|
||||
#include "curlx/warnless.h"
|
||||
|
||||
#ifdef USE_LIBIDN2
|
||||
#include <idn2.h>
|
||||
|
|
|
|||
|
|
@ -72,7 +72,6 @@
|
|||
#include "url.h"
|
||||
#include "bufref.h"
|
||||
#include "curl_sasl.h"
|
||||
#include "curlx/warnless.h"
|
||||
|
||||
|
||||
/* meta key for storing protocol meta at easy handle */
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@
|
|||
#ifdef USE_CURL_NTLM_CORE
|
||||
|
||||
#include "curl_md4.h"
|
||||
#include "curlx/warnless.h"
|
||||
|
||||
#ifdef USE_OPENSSL
|
||||
#include <openssl/opensslv.h>
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@
|
|||
|
||||
#include "curl_md5.h"
|
||||
#include "curl_hmac.h"
|
||||
#include "curlx/warnless.h"
|
||||
|
||||
#ifdef USE_OPENSSL
|
||||
#include <openssl/opensslconf.h>
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@
|
|||
struct Curl_easy;
|
||||
|
||||
#include "mime.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "urldata.h"
|
||||
#include "sendf.h"
|
||||
#include "transfer.h"
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@
|
|||
#include "select.h"
|
||||
#include "url.h"
|
||||
#include "escape.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "rand.h"
|
||||
|
||||
/* first byte is command.
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@
|
|||
#include "curlx/timeval.h"
|
||||
#include "http.h"
|
||||
#include "select.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "curlx/wait.h"
|
||||
#include "conncache.h"
|
||||
#include "multihandle.h"
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@
|
|||
#include "select.h"
|
||||
#include "uint-bset.h"
|
||||
#include "uint-spbset.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "multihandle.h"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -77,7 +77,6 @@
|
|||
|
||||
#include "curl_setup.h"
|
||||
|
||||
#include "curlx/warnless.h"
|
||||
#include "parsedate.h"
|
||||
#include "curlx/strparse.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -72,7 +72,6 @@
|
|||
#include "bufref.h"
|
||||
#include "curl_sasl.h"
|
||||
#include "curl_md5.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "strdup.h"
|
||||
|
||||
/* Authentication type flags */
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@
|
|||
#include "curl_trc.h"
|
||||
#include "curlx/timediff.h"
|
||||
#include "curlx/wait.h"
|
||||
#include "curlx/warnless.h"
|
||||
|
||||
#ifndef HAVE_POLL
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -45,7 +45,6 @@
|
|||
#include "strerror.h"
|
||||
#include "http2.h"
|
||||
#include "progress.h"
|
||||
#include "curlx/warnless.h"
|
||||
|
||||
|
||||
static CURLcode do_init_writer_stack(struct Curl_easy *data);
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@
|
|||
#include "strcase.h"
|
||||
#include "curl_share.h"
|
||||
#include "vtls/vtls.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "sendf.h"
|
||||
#include "hostip.h"
|
||||
#include "http2.h"
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@
|
|||
#if !defined(CURL_DISABLE_AWS) || !defined(CURL_DISABLE_DIGEST_AUTH) || \
|
||||
defined(USE_LIBSSH2) || defined(USE_SSL)
|
||||
|
||||
#include "curlx/warnless.h"
|
||||
#include "curl_sha256.h"
|
||||
|
||||
#ifdef USE_MBEDTLS
|
||||
|
|
|
|||
|
|
@ -74,7 +74,6 @@
|
|||
#include "curl_gethostname.h"
|
||||
#include "bufref.h"
|
||||
#include "curl_sasl.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "idn.h"
|
||||
#include "curlx/strparse.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@
|
|||
#include "curlx/nonblock.h"
|
||||
#include "curlx/timeval.h"
|
||||
#include "socks.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "strdup.h"
|
||||
|
||||
#if defined(__GNUC__) && defined(__APPLE__)
|
||||
|
|
|
|||
|
|
@ -37,7 +37,6 @@
|
|||
#include "socks.h"
|
||||
#include "curl_sspi.h"
|
||||
#include "curlx/multibyte.h"
|
||||
#include "curlx/warnless.h"
|
||||
|
||||
/*
|
||||
* Helper sspi error functions.
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@
|
|||
#include "system_win32.h"
|
||||
#include "curlx/version_win32.h"
|
||||
#include "curl_sspi.h"
|
||||
#include "curlx/warnless.h"
|
||||
|
||||
#ifndef HAVE_IF_NAMETOINDEX
|
||||
/* Handle of iphlpapp.dll */
|
||||
|
|
|
|||
|
|
@ -55,7 +55,6 @@
|
|||
#include "progress.h"
|
||||
#include "arpa_telnet.h"
|
||||
#include "select.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "curlx/strparse.h"
|
||||
|
||||
#define SUBBUFSIZE 512
|
||||
|
|
|
|||
|
|
@ -74,7 +74,6 @@
|
|||
#include "setopt.h"
|
||||
#include "headers.h"
|
||||
#include "bufref.h"
|
||||
#include "curlx/warnless.h"
|
||||
|
||||
#if !defined(CURL_DISABLE_HTTP) || !defined(CURL_DISABLE_SMTP) || \
|
||||
!defined(CURL_DISABLE_IMAP)
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
***************************************************************************/
|
||||
|
||||
#include "curl_setup.h"
|
||||
|
||||
#include "uint-bset.h"
|
||||
|
||||
#ifdef DEBUGBUILD
|
||||
|
|
|
|||
|
|
@ -82,7 +82,6 @@
|
|||
#include "curl_share.h"
|
||||
#include "http_digest.h"
|
||||
#include "multiif.h"
|
||||
#include "curlx/warnless.h"
|
||||
#include "getinfo.h"
|
||||
#include "pop3.h"
|
||||
#include "urlapi-int.h"
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@
|
|||
(!defined(CURL_DISABLE_LDAP) && defined(USE_OPENLDAP))
|
||||
|
||||
#include "vauth.h"
|
||||
#include "../curlx/warnless.h"
|
||||
#include "../sendf.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@
|
|||
#include "vauth.h"
|
||||
#include "../curl_hmac.h"
|
||||
#include "../curl_md5.h"
|
||||
#include "../curlx/warnless.h"
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@
|
|||
#include "../curl_md5.h"
|
||||
#include "../curl_sha256.h"
|
||||
#include "../curl_sha512_256.h"
|
||||
#include "../curlx/warnless.h"
|
||||
#include "../curlx/strparse.h"
|
||||
#include "../rand.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@
|
|||
|
||||
#include "vauth.h"
|
||||
#include "digest.h"
|
||||
#include "../curlx/warnless.h"
|
||||
#include "../curlx/multibyte.h"
|
||||
#include "../sendf.h"
|
||||
#include "../strdup.h"
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@
|
|||
#if defined(USE_WINDOWS_SSPI) && defined(USE_KERBEROS5)
|
||||
|
||||
#include "vauth.h"
|
||||
#include "../curlx/warnless.h"
|
||||
#include "../sendf.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@
|
|||
#include "vauth.h"
|
||||
#include "../sendf.h"
|
||||
#include "../curl_ntlm_core.h"
|
||||
#include "../curlx/warnless.h"
|
||||
#include "../rand.h"
|
||||
#include "../strdup.h"
|
||||
#include "../curl_endian.h"
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@
|
|||
|
||||
#include "vauth.h"
|
||||
#include "../curl_ntlm_core.h"
|
||||
#include "../curlx/warnless.h"
|
||||
#include "../sendf.h"
|
||||
#include "../strdup.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@
|
|||
(!defined(CURL_DISABLE_LDAP) && defined(USE_OPENLDAP))
|
||||
|
||||
#include "vauth.h"
|
||||
#include "../curlx/warnless.h"
|
||||
|
||||
/*
|
||||
* Curl_auth_create_oauth_bearer_message()
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@
|
|||
#include "vauth.h"
|
||||
#include "../curlx/base64.h"
|
||||
#include "../curl_gssapi.h"
|
||||
#include "../curlx/warnless.h"
|
||||
#include "../sendf.h"
|
||||
|
||||
#if defined(__GNUC__) && defined(__APPLE__)
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@
|
|||
|
||||
#include "vauth.h"
|
||||
#include "../curlx/base64.h"
|
||||
#include "../curlx/warnless.h"
|
||||
#include "../sendf.h"
|
||||
#include "../strerror.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -69,8 +69,6 @@
|
|||
#include "../vtls/vtls_scache.h"
|
||||
#include "curl_ngtcp2.h"
|
||||
|
||||
#include "../curlx/warnless.h"
|
||||
|
||||
|
||||
#define QUIC_MAX_STREAMS (256 * 1024)
|
||||
#define QUIC_HANDSHAKE_TIMEOUT (10 * NGTCP2_SECONDS)
|
||||
|
|
|
|||
|
|
@ -52,7 +52,6 @@
|
|||
#include "curl_osslq.h"
|
||||
#include "../url.h"
|
||||
#include "../bufref.h"
|
||||
#include "../curlx/warnless.h"
|
||||
#include "../curlx/strerr.h"
|
||||
|
||||
/* A stream window is the maximum amount we need to buffer for
|
||||
|
|
|
|||
|
|
@ -47,7 +47,6 @@
|
|||
#include "../transfer.h"
|
||||
#include "../url.h"
|
||||
#include "../bufref.h"
|
||||
#include "../curlx/warnless.h"
|
||||
#include "../vtls/openssl.h"
|
||||
#include "../vtls/keylog.h"
|
||||
#include "../vtls/vtls.h"
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@
|
|||
#include "../bufq.h"
|
||||
#include "../curlx/dynbuf.h"
|
||||
#include "../curlx/fopen.h"
|
||||
#include "../curlx/warnless.h"
|
||||
#include "../cfilters.h"
|
||||
#include "../curl_trc.h"
|
||||
#include "curl_ngtcp2.h"
|
||||
|
|
|
|||
|
|
@ -57,7 +57,6 @@
|
|||
#include "../curlx/strparse.h"
|
||||
#include "../multiif.h"
|
||||
#include "../select.h"
|
||||
#include "../curlx/warnless.h"
|
||||
#include "vssh.h"
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@
|
|||
#include "../multiif.h"
|
||||
#include "../select.h"
|
||||
#include "../curlx/fopen.h"
|
||||
#include "../curlx/warnless.h"
|
||||
#include "vssh.h"
|
||||
#include "../curlx/strparse.h"
|
||||
#include "../curlx/base64.h" /* for base64 encoding/decoding */
|
||||
|
|
|
|||
|
|
@ -55,7 +55,6 @@
|
|||
#include "../strdup.h"
|
||||
#include "../curlx/fopen.h"
|
||||
#include "../curlx/timeval.h"
|
||||
#include "../curlx/warnless.h"
|
||||
#include "x509asn1.h"
|
||||
|
||||
/* Enable GnuTLS debugging by defining GTLSDEBUG */
|
||||
|
|
|
|||
|
|
@ -119,8 +119,6 @@ static void ossl_provider_cleanup(struct Curl_easy *data);
|
|||
#define HAVE_SSL_CTX_SET_DEFAULT_READ_BUFFER_LEN 1
|
||||
#endif
|
||||
|
||||
#include "../curlx/warnless.h"
|
||||
|
||||
#if defined(USE_OPENSSL_ENGINE) || defined(OPENSSL_HAS_PROVIDERS)
|
||||
#include <openssl/ui.h>
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@
|
|||
#include "../select.h" /* for the socket readiness */
|
||||
#include "../curlx/fopen.h"
|
||||
#include "../curlx/multibyte.h"
|
||||
#include "../curlx/warnless.h"
|
||||
#include "x509asn1.h"
|
||||
#include "../system_win32.h"
|
||||
#include "../curlx/version_win32.h"
|
||||
|
|
|
|||
|
|
@ -66,7 +66,6 @@
|
|||
#include "../curlx/fopen.h"
|
||||
#include "../curlx/timeval.h"
|
||||
#include "../curl_sha256.h"
|
||||
#include "../curlx/warnless.h"
|
||||
#include "../curlx/base64.h"
|
||||
#include "../curlx/inet_pton.h"
|
||||
#include "../connect.h"
|
||||
|
|
|
|||
|
|
@ -45,7 +45,6 @@
|
|||
#include "../curl_trc.h"
|
||||
#include "../curl_sha256.h"
|
||||
#include "../rand.h"
|
||||
#include "../curlx/warnless.h"
|
||||
|
||||
|
||||
static bool cf_ssl_peer_key_is_global(const char *peer_key);
|
||||
|
|
|
|||
1
lib/ws.c
1
lib/ws.c
|
|
@ -39,7 +39,6 @@
|
|||
#include "transfer.h"
|
||||
#include "select.h"
|
||||
#include "curlx/strparse.h"
|
||||
#include "curlx/warnless.h"
|
||||
|
||||
/***
|
||||
RFC 6455 Section 5.2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue