When compiled with GnuTLS external functions can be used to calculate
hashes. Enable them to reduce the library binary size (by disabling
internal code for hash calculations).
Note: libmicrohttpd 1.0.0 or later required
Signed-off-by: Evgeny Grin (Karlson2k) <k2k@narod.ru>
ifeq ($(BUILD_VARIANT),ssl)
CONFIGURE_ARGS += \
--enable-https \
- --with-gnutls
+ --with-gnutls \
+ --enable-md5=tlslib \
+ --enable-sha256=tlslib
else
CONFIGURE_ARGS += \
--disable-https \