Loading src/core/or/circuitpadding.c +5 −0 Original line number Diff line number Diff line Loading @@ -605,6 +605,11 @@ circpad_machine_sample_delay(circpad_machine_runtime_t *mi) histogram_total_tokens = state->histogram_total_tokens; } /* If we are out of tokens, don't schedule padding. */ if (!histogram_total_tokens) { return CIRCPAD_DELAY_INFINITE; } bin_choice = crypto_fast_rng_get_uint64(get_thread_fast_rng(), histogram_total_tokens); Loading Loading
src/core/or/circuitpadding.c +5 −0 Original line number Diff line number Diff line Loading @@ -605,6 +605,11 @@ circpad_machine_sample_delay(circpad_machine_runtime_t *mi) histogram_total_tokens = state->histogram_total_tokens; } /* If we are out of tokens, don't schedule padding. */ if (!histogram_total_tokens) { return CIRCPAD_DELAY_INFINITE; } bin_choice = crypto_fast_rng_get_uint64(get_thread_fast_rng(), histogram_total_tokens); Loading