X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fssl.h;h=ab02a2d6e407c4f54f1d9773162607f41fdbd34f;hb=402424de9b4c7c8e0f42433061c1a1e88013218f;hp=2bb80e2a9b76ebe87b695a3fd6e209875c4a72b5;hpb=ad9d63e22d3e65adc844f7a1ebd8e65b04022273;p=umurmur.git diff --git a/src/ssl.h b/src/ssl.h index 2bb80e2..ab02a2d 100644 --- a/src/ssl.h +++ b/src/ssl.h @@ -89,16 +89,17 @@ int urandom_bytes(void *ctx, unsigned char *dest, size_t len); typedef ssl_context SSL_handle_t; #elif defined(USE_MBEDTLS) -#include -#include #include -#if defined(MBEDTLS_VERSION_MAJOR) -#if (MBEDTLS_VERSION_MAJOR < 2) +#if !defined(MBEDTLS_VERSION_MAJOR) || (MBEDTLS_VERSION_MAJOR < 2) #error mbedTLS version 2.0.0 or greater is required! #endif + +#include +#if (MBEDTLS_VERSION_MINOR > 3) +#include #else -#error mbedTLS version 2.0.0 or greater is required! +#include #endif #if defined(USE_MBEDTLS_HAVEGE)