Fix ftbfs
This commit is contained in:
parent
ec479de4b9
commit
523917276f
@ -382,7 +382,7 @@ interpret_load_array (struct PERF_TALER_MINTDB_interpreter_state *state)
|
||||
* Get a random element from a #PERF_TALER_MINTDB_CMD_SAVE_ARRAY and exposes it
|
||||
*/
|
||||
static void
|
||||
interpret_load_random (struct PERF_TALER_MINTDB_interpreter_state *state)
|
||||
interprete_load_random (struct PERF_TALER_MINTDB_interpreter_state *state)
|
||||
{
|
||||
unsigned int index;
|
||||
int save_index;
|
||||
@ -392,8 +392,8 @@ interpret_load_random (struct PERF_TALER_MINTDB_interpreter_state *state)
|
||||
state->cmd[state->i].details.load_random.label_save)));
|
||||
index = GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK,
|
||||
state->cmd[save_index].details.save_array.nb_saved);
|
||||
state->cmd[state->i].exposed =
|
||||
data_copy (state->cmd[save_index].details.data_saved[index]);
|
||||
data_copy (&state->cmd[save_index].details.save_array.data_saved[index],
|
||||
&state->cmd[state->i].exposed);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user