From 9fa95cb052994369aefd2f10951c1dac2f510ee3 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 26 Jan 2017 14:06:08 +0100 Subject: [PATCH] Support for mbed TLS 2.4 fixes #102 --- src/ssl.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ssl.h b/src/ssl.h index 2bb80e2..3d40283 100644 --- a/src/ssl.h +++ b/src/ssl.h @@ -90,7 +90,11 @@ typedef ssl_context SSL_handle_t; #elif defined(USE_MBEDTLS) #include +#if (MBEDTLS_VERSION_MINOR > 3) +#include +#else #include +#endif #include #if defined(MBEDTLS_VERSION_MAJOR) -- 2.30.2