diff --git a/DEPS b/DEPS index 5500080e0a..b48e09beac 100644 --- a/DEPS +++ b/DEPS @@ -39,7 +39,7 @@ deps = { Var("github") + "/google/boringssl@fc9c67599d9bdeb2e0467085133b81a8e28f77a4", "src/packager/third_party/curl/source": - Var("github") + "/curl/curl@79e63a53bb9598af863b0afe49ad662795faeef4", #7.50.0 + Var("github") + "/curl/curl@c514af5a4f5ac3ce724065cc6a8e009373436f78", #7.56.1 "src/packager/third_party/gflags/src": Var("chromium_git") + "/external/github.com/gflags/gflags@03bebcb065c83beff83d50ae025a55a4bf94dfca", diff --git a/packager/third_party/curl/README.packager b/packager/third_party/curl/README.packager index ddae514e58..27185764f0 100644 --- a/packager/third_party/curl/README.packager +++ b/packager/third_party/curl/README.packager @@ -26,10 +26,20 @@ Description of source tree. A dummy manual required to build curl command line tool. config/linux/curl_config.h - An *auto-generated* configuration file by running "source/configure - --with-ssl --without-ca-bundle --without-ca-path --without-zlib - --without-libidn --without-librtmp" on linux platform, with a few - features disabled to build correctly on a fresh linux box. + An *auto-generated* configuration file by running bash commands: + + cd source + ./buildconf + cd .. + source/configure --with-ssl --without-ca-bundle --without-ca-path \ + --without-zlib --without-libidn --without-librtmp + cp lib/curl_config.h config/linux/curl_config.h + + on linux platform, with a few features disabled to build correctly on a + fresh linux box. + + config/mac/curl_config.h + Similar as above, but run in Mac instead. config/linux/find_curl_ca_bundle.sh A script used to find the path to curl_ca_bundle in the target system. diff --git a/packager/third_party/curl/config/linux/curl_config.h b/packager/third_party/curl/config/linux/curl_config.h index e35365f88e..6d502d629e 100644 --- a/packager/third_party/curl/config/linux/curl_config.h +++ b/packager/third_party/curl/config/linux/curl_config.h @@ -4,9 +4,15 @@ /* Location of default ca bundle */ /* #undef CURL_CA_BUNDLE */ +/* define "1" to use built in CA store of SSL library */ +/* #undef CURL_CA_FALLBACK */ + /* Location of default ca path */ /* #undef CURL_CA_PATH */ +/* Default SSL backend */ +/* #undef CURL_DEFAULT_SSL_BACKEND */ + /* to disable cookies support */ /* #undef CURL_DISABLE_COOKIES */ @@ -70,6 +76,9 @@ /* Definition to make a library symbol externally visible. */ #define CURL_EXTERN_SYMBOL __attribute__ ((__visibility__ ("default"))) +/* built with multiple SSL backends */ +/* #undef CURL_WITH_MULTI_SSL */ + /* your Entropy Gathering Daemon socket pathname */ /* #undef EGD_SOCKET */ @@ -124,6 +133,11 @@ /* Define to 1 if using BoringSSL. */ /* packager uses BORINGSSL. */ #define HAVE_BORINGSSL 1 +/* Uses RSA_flags which does not exist in boringssl */ +#define OPENSSL_NO_RSA 1 + +/* Define to 1 if you have the __builtin_available function. */ +/* #undef HAVE_BUILTIN_AVAILABLE */ /* Define to 1 if you have the clock_gettime function and monotonic timer. */ /* Disabled for packager. */ @@ -138,21 +152,21 @@ /* Define to 1 if you have the connect function. */ #define HAVE_CONNECT 1 -/* Define to 1 if you have the `CRYPTO_cleanup_all_ex_data' function. */ -#define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 - /* Define to 1 if you have the header file. */ /* #undef HAVE_CRYPTO_H */ +/* Define to 1 if you have the `CyaSSL_CTX_UseSupportedCurve' function. */ +/* #undef HAVE_CYASSL_CTX_USESUPPORTEDCURVE */ + /* Define to 1 if you have the header file. */ /* #undef HAVE_CYASSL_ERROR_SSL_H */ +/* Define to 1 if you have the `CyaSSL_get_peer_certificate' function. */ +/* #undef HAVE_CYASSL_GET_PEER_CERTIFICATE */ + /* Define to 1 if you have the header file. */ /* #undef HAVE_CYASSL_OPTIONS_H */ -/* Define to 1 if you have the `DES_set_odd_parity' function. */ -#define HAVE_DES_SET_ODD_PARITY 1 - /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 @@ -184,9 +198,6 @@ /* Define to 1 if you have the fdopen function. */ #define HAVE_FDOPEN 1 -/* Define to 1 if you have the `fork' function. */ -#define HAVE_FORK 1 - /* Define to 1 if you have the freeaddrinfo function. */ #define HAVE_FREEADDRINFO 1 @@ -262,9 +273,6 @@ /* Define to 1 if you have the `getppid' function. */ #define HAVE_GETPPID 1 -/* Define to 1 if you have the `getprotobyname' function. */ -#define HAVE_GETPROTOBYNAME 1 - /* Define to 1 if you have the `getpwuid' function. */ #define HAVE_GETPWUID 1 @@ -287,6 +295,16 @@ /* Define to 1 if you have a working gmtime_r function. */ #define HAVE_GMTIME_R 1 +/* Define to 1 if you have the `gnutls_alpn_set_protocols' function. */ +/* #undef HAVE_GNUTLS_ALPN_SET_PROTOCOLS */ + +/* Define to 1 if you have the `gnutls_certificate_set_x509_key_file2' + function. */ +/* #undef HAVE_GNUTLS_CERTIFICATE_SET_X509_KEY_FILE2 */ + +/* Define to 1 if you have the `gnutls_ocsp_req_init' function. */ +/* #undef HAVE_GNUTLS_OCSP_REQ_INIT */ + /* if you have the function gnutls_srp_verifier */ /* #undef HAVE_GNUTLS_SRP */ @@ -311,14 +329,8 @@ /* if you have MIT Kerberos */ /* #undef HAVE_GSSMIT */ -/* Define to 1 if you have the `idna_strerror' function. */ -/* #undef HAVE_IDNA_STRERROR */ - -/* Define to 1 if you have the `idn_free' function. */ -/* #undef HAVE_IDN_FREE */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_IDN_FREE_H */ +/* Define to 1 if you have the header file. */ +/* #undef HAVE_IDN2_H */ /* Define to 1 if you have the header file. */ #define HAVE_IFADDRS_H 1 @@ -327,9 +339,6 @@ /* Disabled for packager. Not verified yet. */ /* #undef HAVE_IF_NAMETOINDEX */ -/* Define to 1 if you have the `inet_addr' function. */ -#define HAVE_INET_ADDR 1 - /* Define to 1 if you have the inet_ntoa_r function. */ /* #undef HAVE_INET_NTOA_R */ @@ -397,11 +406,8 @@ /* Define to 1 if you have the header file. */ #define HAVE_LIBGEN_H 1 -/* Define to 1 if you have the `idn' library (-lidn). */ -/* #undef HAVE_LIBIDN */ - -/* Define to 1 if you have the `resolve' library (-lresolve). */ -/* #undef HAVE_LIBRESOLVE */ +/* Define to 1 if you have the `idn2' library (-lidn2). */ +/* #undef HAVE_LIBIDN2 */ /* Define to 1 if using libressl. */ /* #undef HAVE_LIBRESSL */ @@ -484,9 +490,6 @@ /* Define to 1 if you have the header file. */ #define HAVE_OPENSSL_PEM_H 1 -/* Define to 1 if you have the header file. */ -#define HAVE_OPENSSL_PKCS12_H 1 - /* Define to 1 if you have the header file. */ #define HAVE_OPENSSL_RSA_H 1 @@ -502,9 +505,6 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_PEM_H */ -/* Define to 1 if you have the `perror' function. */ -#define HAVE_PERROR 1 - /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 @@ -521,7 +521,7 @@ #define HAVE_POSIX_STRERROR_R 1 /* if you have */ -/* #undef HAVE_PTHREAD_H */ +#define HAVE_PTHREAD_H 1 /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 @@ -529,12 +529,6 @@ /* Define to 1 if you have the `RAND_egd' function. */ #define HAVE_RAND_EGD 1 -/* Define to 1 if you have the `RAND_screen' function. */ -/* #undef HAVE_RAND_SCREEN */ - -/* Define to 1 if you have the `RAND_status' function. */ -#define HAVE_RAND_STATUS 1 - /* Define to 1 if you have the recv function. */ #define HAVE_RECV 1 @@ -653,7 +647,7 @@ /* #undef HAVE_STRNICMP */ /* Define to 1 if you have the header file. */ -/* #undef HAVE_STROPTS_H */ +#define HAVE_STROPTS_H 1 /* Define to 1 if you have the strstr function. */ #define HAVE_STRSTR 1 @@ -727,21 +721,15 @@ /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 -/* Define to 1 if you have the header file. */ -/* #undef HAVE_TLD_H */ - -/* Define to 1 if you have the `tld_strerror' function. */ -/* #undef HAVE_TLD_STRERROR */ - -/* Define to 1 if you have the `uname' function. */ -#define HAVE_UNAME 1 - /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 +/* Define to 1 if you have the `utimes' function. */ +#define HAVE_UTIMES 1 + /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 @@ -766,6 +754,18 @@ /* Define to 1 if you have the winsock.h header file. */ /* #undef HAVE_WINSOCK_H */ +/* Define to 1 if you have the `wolfSSLv3_client_method' function. */ +/* #undef HAVE_WOLFSSLV3_CLIENT_METHOD */ + +/* Define to 1 if you have the `wolfSSL_CTX_UseSupportedCurve' function. */ +/* #undef HAVE_WOLFSSL_CTX_USESUPPORTEDCURVE */ + +/* Define to 1 if you have the `wolfSSL_get_peer_certificate' function. */ +/* #undef HAVE_WOLFSSL_GET_PEER_CERTIFICATE */ + +/* Define to 1 if you have the `wolfSSL_UseALPN' function. */ +/* #undef HAVE_WOLFSSL_USEALPN */ + /* Define this symbol if your OS supports changing the contents of argv */ #define HAVE_WRITABLE_ARGV 1 @@ -813,7 +813,8 @@ #define PACKAGE "curl" /* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" +#define PACKAGE_BUGREPORT \ + "a suitable curl mailing list: https://curl.haxx.se/mail/" /* Define to the full name of this package. */ #define PACKAGE_NAME "curl" @@ -884,6 +885,9 @@ /* Define to the function return type for send. */ #define SEND_TYPE_RETV ssize_t +/* The size of `curl_off_t', as computed by sizeof. */ +#define SIZEOF_CURL_OFF_T 8 + /* The size of `int', as computed by sizeof. */ #define SIZEOF_INT 4 @@ -905,9 +909,6 @@ /* The size of `time_t', as computed by sizeof. */ #define SIZEOF_TIME_T 8 -/* The size of `void*', as computed by sizeof. */ -#define SIZEOF_VOIDP 8 - /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 @@ -923,10 +924,10 @@ /* if axTLS is enabled */ /* #undef USE_AXTLS */ -/* if CyaSSL is enabled */ +/* if CyaSSL/WolfSSL is enabled */ /* #undef USE_CYASSL */ -/* to enable iOS/Mac OS X native SSL/TLS support */ +/* to enable Apple OS native SSL/TLS support */ /* #undef USE_DARWINSSL */ /* if GnuTLS is enabled */ @@ -935,6 +936,9 @@ /* if GnuTLS uses nettle as crypto backend */ /* #undef USE_GNUTLS_NETTLE */ +/* PSL support enabled */ +/* #undef USE_LIBPSL */ + /* if librtmp is in use */ /* #undef USE_LIBRTMP */ @@ -944,6 +948,9 @@ /* If you want to build curl with the built-in manual */ #define USE_MANUAL 1 +/* if mbedTLS is enabled */ +/* #undef USE_MBEDTLS */ + /* Define to enable metalink support */ /* #undef USE_METALINK */ @@ -966,7 +973,10 @@ /* #undef USE_SCHANNEL */ /* if you want POSIX threaded DNS lookup */ -/* #undef USE_THREADS_POSIX */ +#define USE_THREADS_POSIX 1 + +/* if you want Win32 threaded DNS lookup */ +/* #undef USE_THREADS_WIN32 */ /* Use TLS-SRP authentication */ #ifndef HAVE_BORINGSSL @@ -999,9 +1009,6 @@ /* Define to 1 to provide own prototypes. */ /* #undef WANT_IDN_PROTOTYPES */ -/* Define to avoid automatic inclusion of winsock.h */ -/* #undef WIN32_LEAN_AND_MEAN */ - /* Define to 1 if OS is AIX. */ #ifndef _ALL_SOURCE /* # undef _ALL_SOURCE */ diff --git a/packager/third_party/curl/config/mac/curl_config.h b/packager/third_party/curl/config/mac/curl_config.h index ab5987e4f1..dc1555825c 100644 --- a/packager/third_party/curl/config/mac/curl_config.h +++ b/packager/third_party/curl/config/mac/curl_config.h @@ -4,9 +4,15 @@ /* Location of default ca bundle */ /* #undef CURL_CA_BUNDLE */ +/* define "1" to use built in CA store of SSL library */ +/* #undef CURL_CA_FALLBACK */ + /* Location of default ca path */ /* #undef CURL_CA_PATH */ +/* Default SSL backend */ +/* #undef CURL_DEFAULT_SSL_BACKEND */ + /* to disable cookies support */ /* #undef CURL_DISABLE_COOKIES */ @@ -70,6 +76,9 @@ /* Definition to make a library symbol externally visible. */ #define CURL_EXTERN_SYMBOL __attribute__ ((__visibility__ ("default"))) +/* built with multiple SSL backends */ +/* #undef CURL_WITH_MULTI_SSL */ + /* your Entropy Gathering Daemon socket pathname */ /* #undef EGD_SOCKET */ @@ -124,6 +133,11 @@ /* Define to 1 if using BoringSSL. */ /* packager uses BORINGSSL. */ #define HAVE_BORINGSSL 1 +/* Uses RSA_flags which does not exist in boringssl */ +#define OPENSSL_NO_RSA 1 + +/* Define to 1 if you have the __builtin_available function. */ +/* #undef HAVE_BUILTIN_AVAILABLE */ /* Define to 1 if you have the clock_gettime function and monotonic timer. */ /* Disabled for packager. */ @@ -138,21 +152,21 @@ /* Define to 1 if you have the connect function. */ #define HAVE_CONNECT 1 -/* Define to 1 if you have the `CRYPTO_cleanup_all_ex_data' function. */ -#define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 - /* Define to 1 if you have the header file. */ /* #undef HAVE_CRYPTO_H */ +/* Define to 1 if you have the `CyaSSL_CTX_UseSupportedCurve' function. */ +/* #undef HAVE_CYASSL_CTX_USESUPPORTEDCURVE */ + /* Define to 1 if you have the header file. */ /* #undef HAVE_CYASSL_ERROR_SSL_H */ +/* Define to 1 if you have the `CyaSSL_get_peer_certificate' function. */ +/* #undef HAVE_CYASSL_GET_PEER_CERTIFICATE */ + /* Define to 1 if you have the header file. */ /* #undef HAVE_CYASSL_OPTIONS_H */ -/* Define to 1 if you have the `DES_set_odd_parity' function. */ -#define HAVE_DES_SET_ODD_PARITY 1 - /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 @@ -184,9 +198,6 @@ /* Define to 1 if you have the fdopen function. */ #define HAVE_FDOPEN 1 -/* Define to 1 if you have the `fork' function. */ -#define HAVE_FORK 1 - /* Define to 1 if you have the freeaddrinfo function. */ #define HAVE_FREEADDRINFO 1 @@ -262,9 +273,6 @@ /* Define to 1 if you have the `getppid' function. */ #define HAVE_GETPPID 1 -/* Define to 1 if you have the `getprotobyname' function. */ -#define HAVE_GETPROTOBYNAME 1 - /* Define to 1 if you have the `getpwuid' function. */ #define HAVE_GETPWUID 1 @@ -287,6 +295,16 @@ /* Define to 1 if you have a working gmtime_r function. */ #define HAVE_GMTIME_R 1 +/* Define to 1 if you have the `gnutls_alpn_set_protocols' function. */ +/* #undef HAVE_GNUTLS_ALPN_SET_PROTOCOLS */ + +/* Define to 1 if you have the `gnutls_certificate_set_x509_key_file2' + function. */ +/* #undef HAVE_GNUTLS_CERTIFICATE_SET_X509_KEY_FILE2 */ + +/* Define to 1 if you have the `gnutls_ocsp_req_init' function. */ +/* #undef HAVE_GNUTLS_OCSP_REQ_INIT */ + /* if you have the function gnutls_srp_verifier */ /* #undef HAVE_GNUTLS_SRP */ @@ -311,14 +329,8 @@ /* if you have MIT Kerberos */ /* #undef HAVE_GSSMIT */ -/* Define to 1 if you have the `idna_strerror' function. */ -/* #undef HAVE_IDNA_STRERROR */ - -/* Define to 1 if you have the `idn_free' function. */ -/* #undef HAVE_IDN_FREE */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_IDN_FREE_H */ +/* Define to 1 if you have the header file. */ +/* #undef HAVE_IDN2_H */ /* Define to 1 if you have the header file. */ #define HAVE_IFADDRS_H 1 @@ -327,9 +339,6 @@ /* Disabled for packager. Not verified yet. */ /* #undef HAVE_IF_NAMETOINDEX */ -/* Define to 1 if you have the `inet_addr' function. */ -#define HAVE_INET_ADDR 1 - /* Define to 1 if you have the inet_ntoa_r function. */ /* #undef HAVE_INET_NTOA_R */ @@ -397,11 +406,8 @@ /* Define to 1 if you have the header file. */ #define HAVE_LIBGEN_H 1 -/* Define to 1 if you have the `idn' library (-lidn). */ -/* #undef HAVE_LIBIDN */ - -/* Define to 1 if you have the `resolve' library (-lresolve). */ -/* #undef HAVE_LIBRESOLVE */ +/* Define to 1 if you have the `idn2' library (-lidn2). */ +/* #undef HAVE_LIBIDN2 */ /* Define to 1 if using libressl. */ /* #undef HAVE_LIBRESSL */ @@ -484,9 +490,6 @@ /* Define to 1 if you have the header file. */ #define HAVE_OPENSSL_PEM_H 1 -/* Define to 1 if you have the header file. */ -#define HAVE_OPENSSL_PKCS12_H 1 - /* Define to 1 if you have the header file. */ #define HAVE_OPENSSL_RSA_H 1 @@ -502,9 +505,6 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_PEM_H */ -/* Define to 1 if you have the `perror' function. */ -#define HAVE_PERROR 1 - /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 @@ -521,7 +521,7 @@ #define HAVE_POSIX_STRERROR_R 1 /* if you have */ -/* #undef HAVE_PTHREAD_H */ +#define HAVE_PTHREAD_H 1 /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 @@ -529,12 +529,6 @@ /* Define to 1 if you have the `RAND_egd' function. */ #define HAVE_RAND_EGD 1 -/* Define to 1 if you have the `RAND_screen' function. */ -/* #undef HAVE_RAND_SCREEN */ - -/* Define to 1 if you have the `RAND_status' function. */ -#define HAVE_RAND_STATUS 1 - /* Define to 1 if you have the recv function. */ #define HAVE_RECV 1 @@ -727,21 +721,15 @@ /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 -/* Define to 1 if you have the header file. */ -#define HAVE_TLD_H 1 - -/* Define to 1 if you have the `tld_strerror' function. */ -#define HAVE_TLD_STRERROR 1 - -/* Define to 1 if you have the `uname' function. */ -#define HAVE_UNAME 1 - /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 +/* Define to 1 if you have the `utimes' function. */ +#define HAVE_UTIMES 1 + /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 @@ -766,6 +754,18 @@ /* Define to 1 if you have the winsock.h header file. */ /* #undef HAVE_WINSOCK_H */ +/* Define to 1 if you have the `wolfSSLv3_client_method' function. */ +/* #undef HAVE_WOLFSSLV3_CLIENT_METHOD */ + +/* Define to 1 if you have the `wolfSSL_CTX_UseSupportedCurve' function. */ +/* #undef HAVE_WOLFSSL_CTX_USESUPPORTEDCURVE */ + +/* Define to 1 if you have the `wolfSSL_get_peer_certificate' function. */ +/* #undef HAVE_WOLFSSL_GET_PEER_CERTIFICATE */ + +/* Define to 1 if you have the `wolfSSL_UseALPN' function. */ +/* #undef HAVE_WOLFSSL_USEALPN */ + /* Define this symbol if your OS supports changing the contents of argv */ #define HAVE_WRITABLE_ARGV 1 @@ -812,7 +812,8 @@ #define PACKAGE "curl" /* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" +#define PACKAGE_BUGREPORT \ + "a suitable curl mailing list: https://curl.haxx.se/mail/" /* Define to the full name of this package. */ #define PACKAGE_NAME "curl" @@ -883,6 +884,9 @@ /* Define to the function return type for send. */ #define SEND_TYPE_RETV ssize_t +/* The size of `curl_off_t', as computed by sizeof. */ +#define SIZEOF_CURL_OFF_T 8 + /* The size of `int', as computed by sizeof. */ #define SIZEOF_INT 4 @@ -904,9 +908,6 @@ /* The size of `time_t', as computed by sizeof. */ #define SIZEOF_TIME_T 8 -/* The size of `void*', as computed by sizeof. */ -#define SIZEOF_VOIDP 8 - /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 @@ -922,10 +923,10 @@ /* if axTLS is enabled */ /* #undef USE_AXTLS */ -/* if CyaSSL is enabled */ +/* if CyaSSL/WolfSSL is enabled */ /* #undef USE_CYASSL */ -/* to enable iOS/Mac OS X native SSL/TLS support */ +/* to enable Apple OS native SSL/TLS support */ /* #undef USE_DARWINSSL */ /* if GnuTLS is enabled */ @@ -934,6 +935,9 @@ /* if GnuTLS uses nettle as crypto backend */ /* #undef USE_GNUTLS_NETTLE */ +/* PSL support enabled */ +/* #undef USE_LIBPSL */ + /* if librtmp is in use */ /* #undef USE_LIBRTMP */ @@ -943,6 +947,9 @@ /* If you want to build curl with the built-in manual */ #define USE_MANUAL 1 +/* if mbedTLS is enabled */ +/* #undef USE_MBEDTLS */ + /* Define to enable metalink support */ /* #undef USE_METALINK */ @@ -965,7 +972,10 @@ /* #undef USE_SCHANNEL */ /* if you want POSIX threaded DNS lookup */ -/* #undef USE_THREADS_POSIX */ +#define USE_THREADS_POSIX 1 + +/* if you want Win32 threaded DNS lookup */ +/* #undef USE_THREADS_WIN32 */ /* Use TLS-SRP authentication */ #ifndef HAVE_BORINGSSL @@ -998,9 +1008,6 @@ /* Define to 1 to provide own prototypes. */ /* #undef WANT_IDN_PROTOTYPES */ -/* Define to avoid automatic inclusion of winsock.h */ -/* #undef WIN32_LEAN_AND_MEAN */ - /* Define to 1 if OS is AIX. */ #ifndef _ALL_SOURCE /* # undef _ALL_SOURCE */ diff --git a/packager/third_party/curl/curl.gyp b/packager/third_party/curl/curl.gyp index 915f7e9354..1843982a13 100644 --- a/packager/third_party/curl/curl.gyp +++ b/packager/third_party/curl/curl.gyp @@ -91,12 +91,12 @@ 'source/lib/system_win32.c', 'source/lib/system_win32.h', ], - 'defines': [ - 'BUILDING_LIBCURL', - ], 'msvs_disabled_warnings': [ 4267, ], }], ], + 'defines': [ + 'BUILDING_LIBCURL', + ], 'variables': { 'clang_warning_flags': [ # TODO(kqyang): Fix curl bug. @@ -184,6 +184,7 @@ 'source/lib/md4.c', 'source/lib/md5.c', 'source/lib/memdebug.c', + 'source/lib/mime.c', 'source/lib/mprintf.c', 'source/lib/multi.c', 'source/lib/netrc.c', @@ -197,7 +198,7 @@ 'source/lib/pipeline.c', 'source/lib/pop3.c', 'source/lib/progress.c', - 'source/lib/rawstr.c', + 'source/lib/rand.c', 'source/lib/rtsp.c', 'source/lib/security.c', 'source/lib/select.c', @@ -212,8 +213,8 @@ 'source/lib/speedcheck.c', 'source/lib/splay.c', 'source/lib/ssh.c', + 'source/lib/strcase.c', 'source/lib/strdup.c', - 'source/lib/strequal.c', 'source/lib/strerror.c', 'source/lib/strtok.c', 'source/lib/strtoofft.c',