run denom helper even with zero denoms, as we may be using the other cipher type only

This commit is contained in:
Christian Grothoff 2022-02-07 15:02:34 +01:00
parent ca7fa98016
commit 271711ae64
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 4 additions and 8 deletions

View File

@ -1562,10 +1562,8 @@ run (void *cls,
} }
if (NULL == denom_head) if (NULL == denom_head)
{ {
GNUNET_log (GNUNET_ERROR_TYPE_ERROR, GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
"No denominations configured\n"); "No CS denominations configured\n");
global_ret = EXIT_NOTCONFIGURED;
GNUNET_SCHEDULER_shutdown ();
return; return;
} }
/* start job to keep keys up-to-date; MUST be run before the #listen_task, /* start job to keep keys up-to-date; MUST be run before the #listen_task,

View File

@ -1540,10 +1540,8 @@ run (void *cls,
} }
if (NULL == denom_head) if (NULL == denom_head)
{ {
GNUNET_log (GNUNET_ERROR_TYPE_ERROR, GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
"No denominations configured\n"); "No RSA denominations configured\n");
global_ret = EXIT_NOTCONFIGURED;
GNUNET_SCHEDULER_shutdown ();
return; return;
} }
/* start job to keep keys up-to-date; MUST be run before the #listen_task, /* start job to keep keys up-to-date; MUST be run before the #listen_task,