diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-02-07 15:02:34 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-02-07 15:02:34 +0100 |
commit | 271711ae6422e566f1fa787852ebe3fe5cb6f1a1 (patch) | |
tree | c30c52f3931d9c6dd9046dab75a9205fabe1b03c /src/util | |
parent | ca7fa98016cc22b94e5dcdafe2cb0cafb9af6563 (diff) | |
download | exchange-271711ae6422e566f1fa787852ebe3fe5cb6f1a1.tar.xz |
run denom helper even with zero denoms, as we may be using the other cipher type only
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/taler-exchange-secmod-cs.c | 6 | ||||
-rw-r--r-- | src/util/taler-exchange-secmod-rsa.c | 6 |
2 files changed, 4 insertions, 8 deletions
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, |