diff --git a/src/util/crypto_helper_esign.c b/src/util/crypto_helper_esign.c index 5c0d9449d..a73e96889 100644 --- 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 index 0bcf9ae5f..ff95caf50 100644 --- 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)