summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-11-18 13:52:58 +0100
committerChristian Grothoff <christian@grothoff.org>2021-11-18 13:52:58 +0100
commit802ba3790f91e48f7841d3bbea66047777549f01 (patch)
tree0550df384c65a4bcffde3a3d1940224d196b99dc
parentfa65f8fd7d81c9e669ea0f54e06cf70301450671 (diff)
downloadexchange-802ba3790f91e48f7841d3bbea66047777549f01.tar.gz
exchange-802ba3790f91e48f7841d3bbea66047777549f01.tar.bz2
exchange-802ba3790f91e48f7841d3bbea66047777549f01.zip
-more logging
-rw-r--r--src/util/crypto_helper_rsa.c4
-rw-r--r--src/util/secmod_common.c4
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,