aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-11-19 17:00:37 +0100
committerChristian Grothoff <christian@grothoff.org>2021-11-19 17:00:37 +0100
commit7b5eb6137061128f987260ba681231e28ae260d5 (patch)
tree3d58f1891626e8b4709c7ae921817d3f3fe0e85a /src/util
parent326110ffe9e1154f18550e12450522ec307a54b6 (diff)
-fix warnings
Diffstat (limited to 'src/util')
-rw-r--r--src/util/crypto_helper_esign.c1
-rw-r--r--src/util/secmod_common.c1
2 files changed, 0 insertions, 2 deletions
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)