From 881d23847aa6dc7d1ebe856b93fee48eeb1b486c Mon Sep 17 00:00:00 2001 From: Roger Dingledine <arma@torproject.org> Date: Sat, 7 Oct 2006 00:52:23 +0000 Subject: [PATCH] fix something that looked scary to me. i believe this won't change any behavior currently, but it will avoiding calling noop code that might change for the worse some time. nick, please confirm. svn:r8623 --- src/common/crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/crypto.c b/src/common/crypto.c index a8caed47ba..932a0a0472 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -80,7 +80,7 @@ const char crypto_c_id[] = /** A number of prealloced mutexes for use by openssl. */ static tor_mutex_t **_openssl_mutexes = NULL; /** How many mutexes have we allocated for use by openssl? */ -static int _n_openssl_mutexes = -1; +static int _n_openssl_mutexes = 0; #endif /** A public key, or a public/private keypair. */ -- GitLab