commit c5af8d3b91cd6ad6ec82f59c39f2cc6b7a3cdcbe
parent cb7a5ceb459ed044c34b8d076a750a37cf78fb4a
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 4 Feb 2026 21:15:27 +0100
do not resume from ancient keys by purging those first
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/util/secmod_cs.c b/src/util/secmod_cs.c
@@ -1697,6 +1697,7 @@ create_missing_keys (struct TALER_SECMOD_Options *opt,
struct GNUNET_TIME_Timestamp next_end;
bool finished = false;
+ remove_expired_denomination_keys (denom);
if (NULL != denom->keys_tail)
{
anchor_start = denom->keys_tail->anchor_end;
diff --git a/src/util/secmod_rsa.c b/src/util/secmod_rsa.c
@@ -1431,6 +1431,7 @@ create_missing_keys (struct TALER_SECMOD_Options *opt,
struct GNUNET_TIME_Timestamp next_end;
bool finished = false;
+ remove_expired_denomination_keys (denom);
if (NULL != denom->keys_tail)
{
anchor_start = denom->keys_tail->anchor_end;