commit 7b5eb6137061128f987260ba681231e28ae260d5
parent 326110ffe9e1154f18550e12450522ec307a54b6
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 19 Nov 2021 17:00:37 +0100
-fix warnings
Diffstat:
2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/util/crypto_helper_esign.c b/src/util/crypto_helper_esign.c
@@ -417,7 +417,6 @@ more:
if (off < sizeof (struct GNUNET_MessageHeader))
continue;
msize = ntohs (hdr->size);
- GNUNET_assert (msize <= sizeof (buf));
if (off < msize)
continue;
switch (ntohs (hdr->type))
diff --git a/src/util/secmod_common.c b/src/util/secmod_common.c
@@ -271,7 +271,6 @@ TES_read_work (void *cls,
GNUNET_break_op (0);
return GNUNET_SYSERR;
}
- GNUNET_assert (msize <= sizeof (client->iobuf));
} while (off < msize);
if (off > msize)