From: Evgeny Grin (Karlson2k) Date: Sun, 27 Oct 2024 16:23:40 +0000 (+0100) Subject: libmicrohttpd: Use external hashing functions X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=0689238ef3d03198001606821b3e2ebd7aa116df;p=openwrt-packages.git libmicrohttpd: Use external hashing functions 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) --- diff --git a/libs/libmicrohttpd/Makefile b/libs/libmicrohttpd/Makefile index 20d1febd2..e3f392118 100644 --- a/libs/libmicrohttpd/Makefile +++ b/libs/libmicrohttpd/Makefile @@ -63,7 +63,9 @@ CONFIGURE_ARGS += \ ifeq ($(BUILD_VARIANT),ssl) CONFIGURE_ARGS += \ --enable-https \ - --with-gnutls + --with-gnutls \ + --enable-md5=tlslib \ + --enable-sha256=tlslib else CONFIGURE_ARGS += \ --disable-https \