mirror of https://github.com/moparisthebest/curl
mbedtls: fix build with mbedtls versions < 2.4.0
Regression added in 62a8095e71
Reported-by: Tony Kelman
Discussed in #1087
This commit is contained in:
parent
6724242cf1
commit
9ea3a6e150
|
@ -31,11 +31,15 @@
|
|||
|
||||
#ifdef USE_MBEDTLS
|
||||
|
||||
#include <mbedtls/version.h>
|
||||
#if MBEDTLS_VERSION_NUMBER >= 0x02040000
|
||||
#include <mbedtls/net_sockets.h>
|
||||
#else
|
||||
#include <mbedtls/net.h>
|
||||
#endif
|
||||
#include <mbedtls/ssl.h>
|
||||
#include <mbedtls/certs.h>
|
||||
#include <mbedtls/x509.h>
|
||||
#include <mbedtls/version.h>
|
||||
|
||||
#include <mbedtls/error.h>
|
||||
#include <mbedtls/entropy.h>
|
||||
|
|
Loading…
Reference in New Issue