Searched refs:tlocal (Results 1 – 1 of 1) sorted by relevance
254 CRYPTO_THREAD_LOCAL *tlocal = OPENSSL_zalloc(sizeof(*tlocal)); in thread_event_ossl_ctx_new() local256 if (tlocal == NULL) in thread_event_ossl_ctx_new()259 if (!CRYPTO_THREAD_init_local(tlocal, NULL)) { in thread_event_ossl_ctx_new()267 if (!CRYPTO_THREAD_set_local(tlocal, hands)) in thread_event_ossl_ctx_new()270 return tlocal; in thread_event_ossl_ctx_new()273 OPENSSL_free(tlocal); in thread_event_ossl_ctx_new()277 static void thread_event_ossl_ctx_free(void *tlocal) in thread_event_ossl_ctx_free() argument279 OPENSSL_free(tlocal); in thread_event_ossl_ctx_free()