commit 802ba3790f91e48f7841d3bbea66047777549f01
parent fa65f8fd7d81c9e669ea0f54e06cf70301450671
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 18 Nov 2021 13:52:58 +0100
-more logging
Diffstat:
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/util/crypto_helper_rsa.c b/src/util/crypto_helper_rsa.c
@@ -330,6 +330,10 @@ more:
msize = ntohs (hdr->size);
if (off < msize)
continue;
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Received message of type %u and length %u\n",
+ (unsigned int) ntohs (hdr->type),
+ (unsigned int) msize);
switch (ntohs (hdr->type))
{
case TALER_HELPER_RSA_MT_AVAIL:
diff --git a/src/util/secmod_common.c b/src/util/secmod_common.c
@@ -81,6 +81,10 @@ TES_transmit (int sock,
const void *pos = hdr;
uint16_t end = ntohs (hdr->size);
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Sending message of type %u and length %u\n",
+ (unsigned int) ntohs (hdr->type),
+ (unsigned int) ntohs (hdr->size));
while (off < end)
{
ssize_t ret = send (sock,