From 4daa9505ba9ea2772aaf20e42e27de81a1cea5ad Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Mon, 6 Jan 2025 13:23:55 +0100 Subject: [PATCH] Simplified "-fix FTBFS" mhd_assert()s turn to no-op on non-debug builds --- src/mhd2/auth_digest.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/mhd2/auth_digest.c b/src/mhd2/auth_digest.c index 04809370..83aef7a1 100644 --- a/src/mhd2/auth_digest.c +++ b/src/mhd2/auth_digest.c @@ -1718,9 +1718,7 @@ digest_update (struct DigestAlgorithm *restrict da, { mhd_assert (! da->uninitialised); mhd_assert (da->algo_selected); -#ifdef _DEBUG mhd_assert (da->ready_for_hashing); -#endif switch (da->algo) { case MHD_DIGEST_BASE_ALGO_MD5: @@ -1837,9 +1835,7 @@ digest_calc_hash (struct DigestAlgorithm *da, { mhd_assert (! da->uninitialised); mhd_assert (da->algo_selected); -#ifdef _DEBUG mhd_assert (da->ready_for_hashing); -#endif switch (da->algo) { case MHD_DIGEST_BASE_ALGO_MD5: