mirror of
https://github.com/curl/curl.git
synced 2026-07-23 04:37:15 +03:00
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
1 changed files with 5 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue