[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated (cdc93b68 -> 637ce389)
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated (cdc93b68 -> 637ce389) |
Date: |
Wed, 22 Nov 2023 22:58:06 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a change to branch master
in repository exchange.
from cdc93b68 -fix include
new 3de16777 -cov workaround
new 637ce389 -tiny concurrency fix
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/util/config.c | 3 +++
src/util/taler-exchange-secmod-eddsa.c | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/util/config.c b/src/util/config.c
index 20567043..1342b53b 100644
--- a/src/util/config.c
+++ b/src/util/config.c
@@ -259,6 +259,9 @@ parse_currencies_cb (void *cls,
memset (cspec->currency,
0,
sizeof (cspec->currency));
+ /* Already checked in TALER_check_currency(), repeated here
+ just to make static analysis happy */
+ GNUNET_assert (strlen (str) < TALER_CURRENCY_LEN);
strcpy (cspec->currency,
str);
GNUNET_free (str);
diff --git a/src/util/taler-exchange-secmod-eddsa.c
b/src/util/taler-exchange-secmod-eddsa.c
index 3b78e71d..f7a9702e 100644
--- a/src/util/taler-exchange-secmod-eddsa.c
+++ b/src/util/taler-exchange-secmod-eddsa.c
@@ -584,11 +584,11 @@ eddsa_client_init (struct TES_Client *client)
static enum GNUNET_GenericReturnValue
eddsa_update_client_keys (struct TES_Client *client)
{
+ GNUNET_assert (0 == pthread_mutex_lock (&keys_lock));
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Updating client %p to generation %llu\n",
client,
(unsigned long long) key_gen);
- GNUNET_assert (0 == pthread_mutex_lock (&keys_lock));
for (struct Key *key = keys_head;
NULL != key;
key = key->next)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-exchange] branch master updated (cdc93b68 -> 637ce389),
gnunet <=