gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: -more logging


From: gnunet
Subject: [taler-exchange] branch master updated: -more logging
Date: Thu, 18 Nov 2021 13:53:00 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 802ba379 -more logging
802ba379 is described below

commit 802ba3790f91e48f7841d3bbea66047777549f01
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Nov 18 13:52:58 2021 +0100

    -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 8c3be457..a5a001a9 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 229942c9..4a45dd58 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,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]