add missing preflight
This commit is contained in:
parent
a727348638
commit
98e44f33a7
@ -1935,6 +1935,8 @@ build_key_state (struct HelperState *hs,
|
|||||||
ksh->auditors = json_array ();
|
ksh->auditors = json_array ();
|
||||||
GNUNET_assert (NULL != ksh->auditors);
|
GNUNET_assert (NULL != ksh->auditors);
|
||||||
/* NOTE: fetches master-signed signkeys, but ALSO those that were revoked! */
|
/* NOTE: fetches master-signed signkeys, but ALSO those that were revoked! */
|
||||||
|
GNUNET_break (GNUNET_OK ==
|
||||||
|
TEH_plugin->preflight (TEH_plugin->cls));
|
||||||
qs = TEH_plugin->iterate_denominations (TEH_plugin->cls,
|
qs = TEH_plugin->iterate_denominations (TEH_plugin->cls,
|
||||||
&denomination_info_cb,
|
&denomination_info_cb,
|
||||||
ksh);
|
ksh);
|
||||||
|
@ -868,6 +868,19 @@ update_keys (struct Denomination *denom,
|
|||||||
bool *wake)
|
bool *wake)
|
||||||
{
|
{
|
||||||
/* create new denomination keys */
|
/* create new denomination keys */
|
||||||
|
if (NULL != denom->keys_tail)
|
||||||
|
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
|
||||||
|
"Updating keys of denomination `%s', last key %s valid for another %s\n",
|
||||||
|
denom->section,
|
||||||
|
GNUNET_h2s (&denom->keys_tail->h_rsa.hash),
|
||||||
|
GNUNET_STRINGS_relative_time_to_string (
|
||||||
|
GNUNET_TIME_absolute_get_remaining (
|
||||||
|
GNUNET_TIME_absolute_subtract (
|
||||||
|
GNUNET_TIME_absolute_add (
|
||||||
|
denom->keys_tail->anchor,
|
||||||
|
denom->duration_withdraw),
|
||||||
|
overlap_duration)),
|
||||||
|
GNUNET_YES));
|
||||||
while ( (NULL == denom->keys_tail) ||
|
while ( (NULL == denom->keys_tail) ||
|
||||||
GNUNET_TIME_absolute_is_past (
|
GNUNET_TIME_absolute_is_past (
|
||||||
GNUNET_TIME_absolute_subtract (
|
GNUNET_TIME_absolute_subtract (
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
[PATHS]
|
[PATHS]
|
||||||
# Persistent data storage for the testcase
|
# Persistent data storage for the testcase
|
||||||
TALER_TEST_HOME = test_helper_eddsa_home/
|
TALER_TEST_HOME = test_helper_eddsa_home/
|
||||||
TALER_RUNTIME_DIR = ${TMPDIR:-/tmp}/${USER}/test_helper_eddsa/
|
|
||||||
|
|
||||||
[taler-exchange-secmod-eddsa]
|
[taler-exchange-secmod-eddsa]
|
||||||
CLIENT_DIR = $TALER_RUNTIME_DIR
|
CLIENT_DIR = $TALER_RUNTIME_DIR
|
||||||
|
@ -609,6 +609,8 @@ main (int argc,
|
|||||||
|
|
||||||
(void) argc;
|
(void) argc;
|
||||||
(void) argv;
|
(void) argv;
|
||||||
|
unsetenv ("XDG_DATA_HOME");
|
||||||
|
unsetenv ("XDG_CONFIG_HOME");
|
||||||
GNUNET_log_setup ("test-helper-rsa",
|
GNUNET_log_setup ("test-helper-rsa",
|
||||||
"WARNING",
|
"WARNING",
|
||||||
NULL);
|
NULL);
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
[PATHS]
|
[PATHS]
|
||||||
# Persistent data storage for the testcase
|
# Persistent data storage for the testcase
|
||||||
TALER_TEST_HOME = test_helper_rsa_home/
|
TALER_TEST_HOME = test_helper_rsa_home/
|
||||||
TALER_RUNTIME_DIR = ${TMPDIR:-/tmp}/${USER}/test_helper_rsa/
|
|
||||||
|
|
||||||
|
|
||||||
[coin_1]
|
[coin_1]
|
||||||
DURATION_WITHDRAW = 1 minute
|
DURATION_WITHDRAW = 1 minute
|
||||||
|
Loading…
Reference in New Issue
Block a user