From 802ba3790f91e48f7841d3bbea66047777549f01 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 18 Nov 2021 13:52:58 +0100 Subject: -more logging --- src/util/crypto_helper_rsa.c | 4 ++++ src/util/secmod_common.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/util/crypto_helper_rsa.c b/src/util/crypto_helper_rsa.c index 8c3be457f..a5a001a9c 100644 --- 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 index 229942c92..4a45dd58d 100644 --- 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, -- cgit v1.2.3