summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-10-07 00:52:23 +0000
committerRoger Dingledine <arma@torproject.org>2006-10-07 00:52:23 +0000
commit881d23847aa6dc7d1ebe856b93fee48eeb1b486c (patch)
tree115ed2a7f85e797761abe7e90f4d8e007bc082e2
parent06e5b2283c6b3b256f098191e7b86a44f00b2ccb (diff)
downloadtor-881d23847aa6dc7d1ebe856b93fee48eeb1b486c.tar.gz
tor-881d23847aa6dc7d1ebe856b93fee48eeb1b486c.zip
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
-rw-r--r--src/common/crypto.c2
1 files changed, 1 insertions, 1 deletions
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. */