Use a single mutex for the certificate generation
[privoxy.git] / jcc.h
diff --git a/jcc.h b/jcc.h
index 1299c00..345658a 100644 (file)
--- a/jcc.h
+++ b/jcc.h
@@ -102,11 +102,7 @@ extern privoxy_mutex_t resolver_mutex;
 extern privoxy_mutex_t rand_mutex;
 #endif /* ndef HAVE_RANDOM */
 
-#ifdef LIMIT_MUTEX_NUMBER
-extern privoxy_mutex_t certificates_mutexes[32];
-#else
-extern privoxy_mutex_t certificates_mutexes[65536];
-#endif /* LIMIT_MUTEX_NUMBER */
+extern privoxy_mutex_t certificate_mutex;
 extern privoxy_mutex_t rng_mutex;
 
 #endif /* FEATURE_PTHREAD */