From 7179e53ea6a8bb1fd7a69b4c7b6b996ac59f55b2 Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Tue, 14 Mar 2017 15:22:49 -0400 Subject: [PATCH] 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 Commit-Queue: Steven Valdez CQ-Verified: CQ bot account: commit-bot@chromium.org --- crypto/rand/deterministic.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crypto/rand/deterministic.c b/crypto/rand/deterministic.c index d96a5053..8c754c1e 100644 --- a/crypto/rand/deterministic.c +++ b/crypto/rand/deterministic.c @@ -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; }