mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
Simplified "-fix FTBFS"
mhd_assert()s turn to no-op on non-debug builds
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user