[or-cvs] r8623: fix something that looked scary to me. i believe this won't  (tor/trunk/src/common)
    arma at seul.org 
    arma at seul.org
       
    Sat Oct  7 00:52:23 UTC 2006
    
    
  
Author: arma
Date: 2006-10-06 20:52:23 -0400 (Fri, 06 Oct 2006)
New Revision: 8623
Modified:
   tor/trunk/src/common/crypto.c
Log:
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.
Modified: tor/trunk/src/common/crypto.c
===================================================================
--- tor/trunk/src/common/crypto.c	2006-10-07 00:50:39 UTC (rev 8622)
+++ tor/trunk/src/common/crypto.c	2006-10-07 00:52:23 UTC (rev 8623)
@@ -80,7 +80,7 @@
 /** 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. */
    
    
More information about the tor-commits
mailing list