privoxy_mutex_t log_init_mutex;
privoxy_mutex_t connection_reuse_mutex;
+#ifdef FEATURE_HTTPS_INSPECTION
privoxy_mutex_t certificate_mutex;
privoxy_mutex_t rng_mutex;
+#endif
#ifdef FEATURE_EXTERNAL_FILTERS
privoxy_mutex_t external_filter_mutex;
* Prepare global mutex semaphores
*/
+#ifdef FEATURE_HTTPS_INSPECTION
privoxy_mutex_init(&certificate_mutex);
privoxy_mutex_init(&rng_mutex);
+#endif
privoxy_mutex_init(&log_mutex);
privoxy_mutex_init(&log_init_mutex);
extern privoxy_mutex_t rand_mutex;
#endif /* ndef HAVE_RANDOM */
+#ifdef FEATURE_HTTPS_INSPECTION
extern privoxy_mutex_t certificate_mutex;
extern privoxy_mutex_t rng_mutex;
+#endif
#endif /* FEATURE_PTHREAD */