--- src/rproxy.h 2015-07-13 15:21:34.000000000 +0200 +++ src/rproxy.h 2016-07-18 17:29:46.813754000 +0200 @@ -19,6 +19,7 @@ #include#include #ifdef ENABLE_TLS +#include "mbedtls/platform.h" #include "mbedtls/ssl.h" #endif #include "ip.h" --- src/tls.h 2016-02-14 14:45:44.000000000 +0100 +++ src/tls.h 2016-07-18 17:29:35.797754000 +0200 @@ -18,6 +18,7 @@ #include #include "liblist.h" +#include "mbedtls/platform.h" #include "mbedtls/ssl.h" #include "mbedtls/x509.h" #include "mbedtls/version.h" --- src/wigwam.c 2016-04-30 12:41:04.000000000 +0200 +++ src/wigwam.c 2016-07-18 17:30:12.677754000 +0200 @@ -33,6 +33,7 @@ #include "filehashes.h" #include "mbedtls/md5.h" #ifdef ENABLE_TLS +#include "mbedtls/platform.h" #include "mbedtls/ssl.h" #include "mbedtls/x509.h" #endif
Place this patch in a file called hiawatha-10.3.patch and use the following command from within the Hiawatha source directory to apply the patch:
patch -p0 < hiawatha-10.3.patch
After applying the patch, recompile Hiawatha.
cd hiawatha-10.3/mbedtls
./upgrade
After that, apply the patch and then re-compile.
hiawatha -v
Hiawatha v10.3, cache, IPv6, Monitor, reverse proxy, TLS v2.3.0, Tomahawk, URL toolkit, XSLT
Copyright (c) by Hugo Leisink <hugo@leisink.net>