Home
last modified time | relevance | path

Searched refs:openssl_mutexes (Results 1 – 1 of 1) sorted by relevance

/external/libwebsockets/lib/tls/openssl/
Dopenssl-tls.c89 static pthread_mutex_t *openssl_mutexes; variable
98 pthread_mutex_lock(&openssl_mutexes[type]); in lws_openssl_lock_callback()
100 pthread_mutex_unlock(&openssl_mutexes[type]); in lws_openssl_lock_callback()
156 openssl_mutexes = (pthread_mutex_t *) in lws_context_init_ssl_library()
158 sizeof(openssl_mutexes[0])); in lws_context_init_ssl_library()
161 pthread_mutex_init(&openssl_mutexes[n], NULL); in lws_context_init_ssl_library()
192 pthread_mutex_destroy(&openssl_mutexes[n]); in lws_context_deinit_ssl_library()
194 OPENSSL_free(openssl_mutexes); in lws_context_deinit_ssl_library()