Remove TODO.

This isn't something we need to fix, just an explanatory comment.

Change-Id: I284e6580d176f981c6b161e9951f367fef1b1be6
Reviewed-on: https://boringssl-review.googlesource.com/14264
Reviewed-by: Steven Valdez <svaldez@google.com>
Commit-Queue: Steven Valdez <svaldez@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
David Benjamin 2017-03-14 15:22:49 -04:00 committed by CQ bot account: commit-bot@chromium.org
parent 1d4fa785bc
commit 7179e53ea6

View File

@ -24,11 +24,11 @@
#include "../internal.h"
/* g_num_calls is the number of calls to |CRYPTO_sysrand| that have occured.
/* g_num_calls is the number of calls to |CRYPTO_sysrand| that have occurred.
*
* TODO(davidben): This is intentionally not thread-safe. If the fuzzer mode is
* ever used in a multi-threaded program, replace this with a thread-local. (A
* mutex would not be deterministic.) */
* This is intentionally not thread-safe. If the fuzzer mode is ever used in a
* multi-threaded program, replace this with a thread-local. (A mutex would not
* be deterministic.) */
static uint64_t g_num_calls = 0;
void RAND_reset_for_fuzzing(void) { g_num_calls = 0; }