Prechádzať zdrojové kódy

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

Roger Dingledine 17 rokov pred
rodič
commit
881d23847a
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/common/crypto.c

+ 1 - 1
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. */