summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcorvid <devnull@localhost>2016-07-03 21:34:10 +0000
committercorvid <devnull@localhost>2016-07-03 21:34:10 +0000
commitdc0280859b8aea3c571f746471891c42d44050b5 (patch)
tree7d202892fc5223a450146ccdf008a733ac5cbc0f /src
parent1290e4a8914471bf1dd28ea6863e86967a81270b (diff)
workaround for mbed TLS 2.3.0 include problem
reported by Nick Warne http://lists.dillo.org/pipermail/dillo-dev/2016-July/010941.html checking mbedtls/ssl.h usability... no checking mbedtls/ssl.h presence... yes configure: WARNING: mbedtls/ssl.h: present but cannot be compiled configure: WARNING: mbedtls/ssl.h: check for missing prerequisite headers? configure: WARNING: mbedtls/ssl.h: see the Autoconf documentation configure: WARNING: mbedtls/ssl.h: section "Present But Cannot Be Compiled" configure: WARNING: mbedtls/ssl.h: proceeding with the compiler's result checking for mbedtls/ssl.h... no configure: WARNING: *** mbed TLS 2 not found. Disabling SSL/HTTPS/TLS support. ***
Diffstat (limited to 'src')
-rw-r--r--src/IO/tls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/IO/tls.c b/src/IO/tls.c
index 9ee82b90..4ef26789 100644
--- a/src/IO/tls.c
+++ b/src/IO/tls.c
@@ -42,6 +42,7 @@ void a_Tls_init()
#include "tls.h"
#include "Url.h"
+#include <mbedtls/platform.h> /* WORKAROUND: mbed TLS 2.3.0 ssl.h needs it */
#include <mbedtls/ssl.h>
#include <mbedtls/ctr_drbg.h> /* random number generator */
#include <mbedtls/entropy.h>