Commit 9ea3a6e1 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

mbedtls: fix build with mbedtls versions < 2.4.0

Regression added in 62a8095e

Reported-by: Tony Kelman

Discussed in #1087
parent 6724242c
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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>