[tor-commits] [tor/master] Fix documentation of initialized fields in crypto_init.c
nickm at torproject.org
nickm at torproject.org
Wed Sep 5 00:47:14 UTC 2018
commit 70c27b7e39b9437bf18c0342b15a5c6a3022e204
Author: Nick Mathewson <nickm at torproject.org>
Date: Tue Sep 4 10:51:26 2018 -0400
Fix documentation of initialized fields in crypto_init.c
---
src/lib/crypt_ops/crypto_init.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib/crypt_ops/crypto_init.c b/src/lib/crypt_ops/crypto_init.c
index 6fc8e5d94..c731662d4 100644
--- a/src/lib/crypt_ops/crypto_init.c
+++ b/src/lib/crypt_ops/crypto_init.c
@@ -23,10 +23,10 @@
#include "siphash.h"
-/** Boolean: has OpenSSL's crypto been initialized? */
+/** Boolean: has our crypto library been initialized? (early phase) */
static int crypto_early_initialized_ = 0;
-/** Boolean: has OpenSSL's crypto been initialized? */
+/** Boolean: has our crypto library been initialized? (late phase) */
static int crypto_global_initialized_ = 0;
static int have_seeded_siphash = 0;
More information about the tor-commits
mailing list