gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated (abb692f0 -> cda751ea)


From: gnunet
Subject: [taler-exchange] branch master updated (abb692f0 -> cda751ea)
Date: Tue, 17 Jan 2023 17:53:31 +0100

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

grothoff pushed a change to branch master
in repository exchange.

    from abb692f0 -run fetch-transactions in auditor test to avoid 
non-deterministic failure
     new c60e6184 terminate taler-exchange-offline on invalid inputs
     new cda751ea eventually kick out /keys clients also if ksh exists but krd 
array is empty

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/exchange-tools/taler-exchange-offline.c | 5 ++++-
 src/exchange/taler-exchange-httpd_keys.c    | 3 ++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/exchange-tools/taler-exchange-offline.c 
b/src/exchange-tools/taler-exchange-offline.c
index a8a25bd3..eb64a6c9 100644
--- a/src/exchange-tools/taler-exchange-offline.c
+++ b/src/exchange-tools/taler-exchange-offline.c
@@ -3322,7 +3322,7 @@ tofu_check (const struct 
TALER_SecurityModulePublicKeySetP *secmset)
  * @param signkeys keys to output
  * @return #GNUNET_OK on success
  */
-static int
+static enum GNUNET_GenericReturnValue
 show_signkeys (const struct TALER_SecurityModulePublicKeyP *secm_pub,
                const json_t *signkeys)
 {
@@ -4353,6 +4353,9 @@ cmd_handler (char *const *args,
                 cmds[i].name,
                 cmds[i].help);
   }
+  json_decref (out);
+  out = NULL;
+  GNUNET_SCHEDULER_shutdown ();
 }
 
 
diff --git a/src/exchange/taler-exchange-httpd_keys.c 
b/src/exchange/taler-exchange-httpd_keys.c
index b11832e7..3db4ef7c 100644
--- a/src/exchange/taler-exchange-httpd_keys.c
+++ b/src/exchange/taler-exchange-httpd_keys.c
@@ -3232,7 +3232,8 @@ TEH_keys_get_handler (struct TEH_RequestContext *rc,
     const struct KeysResponseData *krd;
 
     ksh = TEH_keys_get_state ();
-    if (NULL == ksh)
+    if ( (NULL == ksh) ||
+         (0 == ksh->krd_array_length) )
     {
       if ( ( (SKR_LIMIT == skr_size) &&
              (rc->connection == skr_connection) ) ||

-- 
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]