[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: -remove FIXME that does not seem
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: -remove FIXME that does not seem to apply anymore |
Date: |
Wed, 01 Jan 2025 17:04:42 +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 e5e2b93de -remove FIXME that does not seem to apply anymore
e5e2b93de is described below
commit e5e2b93de3e825ec4ca916bd5091414c7a172ec1
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Jan 1 17:04:35 2025 +0100
-remove FIXME that does not seem to apply anymore
---
src/util/secmod_cs.c | 6 ++++--
src/util/secmod_rsa.c | 11 +++++++----
2 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/src/util/secmod_cs.c b/src/util/secmod_cs.c
index 7a7d29846..fd9b1c96c 100644
--- a/src/util/secmod_cs.c
+++ b/src/util/secmod_cs.c
@@ -1485,7 +1485,7 @@ cs_update_client_keys (struct TES_Client *client)
/**
* Create a new denomination key (we do not have enough).
*
- * @param denom denomination key to create
+ * @param[in] denom denomination key to create
* @param now current time to use (to get many keys to use the exact same time)
* @return #GNUNET_OK on success
*/
@@ -1505,7 +1505,9 @@ create_key (struct Denomination *denom,
GNUNET_TIME_relative_subtract (
denom->duration_withdraw,
overlap_duration));
- if (GNUNET_TIME_absolute_cmp (now.abs_time, <, abs))
+ if (GNUNET_TIME_absolute_cmp (now.abs_time,
+ <,
+ abs))
anchor = GNUNET_TIME_absolute_to_timestamp (abs);
}
dk = GNUNET_new (struct DenominationKey);
diff --git a/src/util/secmod_rsa.c b/src/util/secmod_rsa.c
index 7d592f56a..418faf8ed 100644
--- a/src/util/secmod_rsa.c
+++ b/src/util/secmod_rsa.c
@@ -1225,7 +1225,7 @@ rsa_update_client_keys (struct TES_Client *client)
/**
* Create a new denomination key (we do not have enough).
*
- * @param denom denomination key to create
+ * @param[in] denom denomination key to create
* @param now current time to use (to get many keys to use the exact same time)
* @return #GNUNET_OK on success
*/
@@ -1237,7 +1237,6 @@ create_key (struct Denomination *denom,
struct GNUNET_TIME_Timestamp anchor;
anchor = now;
- // FIXME: round down to multiple of 'anchor_round' value from configuration
if (NULL != denom->keys_tail)
{
struct GNUNET_TIME_Absolute abs;
@@ -1246,7 +1245,9 @@ create_key (struct Denomination *denom,
GNUNET_TIME_relative_subtract (
denom->duration_withdraw,
overlap_duration));
- if (GNUNET_TIME_absolute_cmp (now.abs_time, <, abs))
+ if (GNUNET_TIME_absolute_cmp (now.abs_time,
+ <,
+ abs))
anchor = GNUNET_TIME_absolute_to_timestamp (abs);
}
dk = GNUNET_new (struct DenominationKey);
@@ -1397,7 +1398,9 @@ update_keys (struct Denomination *denom,
NULL != pos;
pos = pos->next)
{
- if (GNUNET_TIME_absolute_cmp (denomination_action_time (pos), >=, at))
+ if (GNUNET_TIME_absolute_cmp (denomination_action_time (pos),
+ >=,
+ at))
break;
before = pos;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: -remove FIXME that does not seem to apply anymore,
gnunet <=