diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-11-18 13:52:58 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-11-18 13:52:58 +0100 |
commit | 802ba3790f91e48f7841d3bbea66047777549f01 (patch) | |
tree | 0550df384c65a4bcffde3a3d1940224d196b99dc | |
parent | fa65f8fd7d81c9e669ea0f54e06cf70301450671 (diff) |
-more logging
-rw-r--r-- | src/util/crypto_helper_rsa.c | 4 | ||||
-rw-r--r-- | src/util/secmod_common.c | 4 |
2 files changed, 8 insertions, 0 deletions
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, |