소스 검색

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 19 년 전
부모
커밋
881d23847a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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. */