Skip to content

Commit

Permalink
libmicrohttpd: Use external hashing functions
Browse files Browse the repository at this point in the history
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) <[email protected]>
  • Loading branch information
Karlson2k committed Oct 27, 2024
1 parent 2c6d981 commit 10d4d37
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libs/libmicrohttpd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 10d4d37

Please sign in to comment.