mirror of
https://github.com/curl/curl.git
synced 2026-08-25 08:13:31 +03:00
or later -> higher
This commit is contained in:
parent
ccb637e5e3
commit
1d5dc6d2f9
36 changed files with 106 additions and 103 deletions
|
|
@ -76,7 +76,7 @@
|
|||
#elif defined(USE_MBEDTLS) && defined(HAVE_MBEDTLS_DES_CRYPT_ECB)
|
||||
# include <mbedtls/version.h>
|
||||
# if MBEDTLS_VERSION_NUMBER < 0x03020000
|
||||
# error "mbedTLS 3.2.0 or later required"
|
||||
# error "mbedTLS 3.2.0 or higher required"
|
||||
# endif
|
||||
# include <mbedtls/des.h>
|
||||
# define USE_MBEDTLS_DES
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@
|
|||
|
||||
#if defined(__MINGW32__) && \
|
||||
(!defined(__MINGW64_VERSION_MAJOR) || (__MINGW64_VERSION_MAJOR < 3))
|
||||
#error "Building curl requires mingw-w64 3.0 or later"
|
||||
#error "Building curl requires mingw-w64 3.0 or higher"
|
||||
#endif
|
||||
|
||||
/* Visual Studio 2010 is the minimum Visual Studio version we support.
|
||||
|
|
|
|||
|
|
@ -204,7 +204,7 @@ struct Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname,
|
|||
#elif defined(HAVE_GETHOSTBYNAME_R_3)
|
||||
/* AIX, Digital UNIX/Tru64, HP-UX 10, more? */
|
||||
|
||||
/* For AIX 4.3 or later, we do not use gethostbyname_r() at all, because of
|
||||
/* For AIX 4.3 or higher, we do not use gethostbyname_r() at all, because of
|
||||
* the plain fact that it does not return unique full buffers on each
|
||||
* call, but instead several of the pointers in the hostent structs will
|
||||
* point to the same actual data! This have the unfortunate down-side that
|
||||
|
|
@ -214,7 +214,7 @@ struct Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname,
|
|||
* the plain old gethostbyname() work fine even for multi-threaded
|
||||
* programs.
|
||||
*
|
||||
* This AIX 4.3 or later detection is all made in the configure script.
|
||||
* This AIX 4.3 or higher detection is all made in the configure script.
|
||||
*
|
||||
* Troels Walsted Hansen helped us work this out on March 3rd, 2003.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
#ifdef USE_MBEDTLS
|
||||
#include <mbedtls/version.h>
|
||||
#if MBEDTLS_VERSION_NUMBER < 0x03020000
|
||||
#error "mbedTLS 3.2.0 or later required"
|
||||
#error "mbedTLS 3.2.0 or higher required"
|
||||
#endif
|
||||
#include <psa/crypto_config.h>
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
#ifdef USE_MBEDTLS
|
||||
#include <mbedtls/version.h>
|
||||
#if MBEDTLS_VERSION_NUMBER < 0x03020000
|
||||
#error "mbedTLS 3.2.0 or later required"
|
||||
#error "mbedTLS 3.2.0 or higher required"
|
||||
#endif
|
||||
#include <psa/crypto_config.h>
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -616,7 +616,7 @@ curl_version_info_data *curl_version_info(CURLversion stamp)
|
|||
}
|
||||
#endif
|
||||
#ifdef USE_LIBIDN2
|
||||
/* This returns a version string if we use the given version or later,
|
||||
/* This returns a version string if we use the given version or higher,
|
||||
otherwise it returns NULL */
|
||||
version_info.libidn = idn2_check_version(IDN2_VERSION);
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ extern const struct Curl_protocol Curl_protocol_scp;
|
|||
#include <libssh2.h>
|
||||
#include <libssh2_sftp.h>
|
||||
#elif defined(USE_LIBSSH)
|
||||
/* in 0.10.0 or later, ignore deprecated warnings */
|
||||
/* in 0.10.0 or higher, ignore deprecated warnings */
|
||||
#define SSH_SUPPRESS_DEPRECATED
|
||||
#include <libssh/libssh.h>
|
||||
#include <libssh/sftp.h>
|
||||
|
|
@ -220,7 +220,7 @@ struct ssh_conn {
|
|||
|
||||
#ifdef USE_LIBSSH
|
||||
#if LIBSSH_VERSION_INT < SSH_VERSION_INT(0, 9, 0)
|
||||
#error "SCP/SFTP protocols require libssh 0.9.0 or later"
|
||||
#error "SCP/SFTP protocols require libssh 0.9.0 or higher"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
#include <mbedtls/version.h>
|
||||
#if MBEDTLS_VERSION_NUMBER < 0x03020000
|
||||
#error "mbedTLS 3.2.0 or later required"
|
||||
#error "mbedTLS 3.2.0 or higher required"
|
||||
#endif
|
||||
#include <psa/crypto_config.h>
|
||||
#include <mbedtls/net_sockets.h>
|
||||
|
|
|
|||
|
|
@ -87,11 +87,11 @@
|
|||
#ifdef LIBRESSL_VERSION_NUMBER
|
||||
/* As of LibreSSL 2.0.0-4.0.0: OPENSSL_VERSION_NUMBER == 0x20000000L */
|
||||
# if LIBRESSL_VERSION_NUMBER < 0x2090100fL /* 2019-04-13 */
|
||||
# error "LibreSSL 2.9.1 or later required"
|
||||
# error "LibreSSL 2.9.1 or higher required"
|
||||
# endif
|
||||
#elif !defined(HAVE_BORINGSSL_LIKE)
|
||||
# ifndef HAVE_OPENSSL3 /* 2021-09-07 */
|
||||
# error "OpenSSL 3.0.0 or later required"
|
||||
# error "OpenSSL 3.0.0 or higher required"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
#include "urldata.h"
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x30000000L
|
||||
#define HAVE_OPENSSL3 /* non-fork OpenSSL 3.x or later */
|
||||
#define HAVE_OPENSSL3 /* non-fork OpenSSL 3.x or higher */
|
||||
#endif
|
||||
|
||||
#if defined(OPENSSL_IS_AWSLC) || defined(OPENSSL_IS_BORINGSSL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue