From 271711ae6422e566f1fa787852ebe3fe5cb6f1a1 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 7 Feb 2022 15:02:34 +0100 Subject: run denom helper even with zero denoms, as we may be using the other cipher type only --- src/util/taler-exchange-secmod-cs.c | 6 ++---- src/util/taler-exchange-secmod-rsa.c | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'src/util') diff --git a/src/util/taler-exchange-secmod-cs.c b/src/util/taler-exchange-secmod-cs.c index 1c4625e79..139b0b9d0 100644 --- a/src/util/taler-exchange-secmod-cs.c +++ b/src/util/taler-exchange-secmod-cs.c @@ -1562,10 +1562,8 @@ run (void *cls, } if (NULL == denom_head) { - GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "No denominations configured\n"); - global_ret = EXIT_NOTCONFIGURED; - GNUNET_SCHEDULER_shutdown (); + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, + "No CS denominations configured\n"); return; } /* start job to keep keys up-to-date; MUST be run before the #listen_task, diff --git a/src/util/taler-exchange-secmod-rsa.c b/src/util/taler-exchange-secmod-rsa.c index fef20524d..6d9ee5db1 100644 --- a/src/util/taler-exchange-secmod-rsa.c +++ b/src/util/taler-exchange-secmod-rsa.c @@ -1540,10 +1540,8 @@ run (void *cls, } if (NULL == denom_head) { - GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "No denominations configured\n"); - global_ret = EXIT_NOTCONFIGURED; - GNUNET_SCHEDULER_shutdown (); + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, + "No RSA denominations configured\n"); return; } /* start job to keep keys up-to-date; MUST be run before the #listen_task, -- cgit v1.2.3