Lines Matching refs:tls_global
224 static struct tls_context *tls_global = NULL; variable
1024 tls_global = context = tls_context_new(conf); in tls_init()
1037 os_free(tls_global); in tls_init()
1038 tls_global = NULL; in tls_init()
1049 os_free(tls_global); in tls_init()
1050 tls_global = NULL; in tls_init()
1092 if (context != tls_global) in tls_init()
1095 os_free(tls_global); in tls_init()
1096 tls_global = NULL; in tls_init()
1207 if (context != tls_global) in tls_deinit()
1223 os_free(tls_global->ocsp_stapling_response); in tls_deinit()
1224 tls_global->ocsp_stapling_response = NULL; in tls_deinit()
1225 os_free(tls_global); in tls_deinit()
1226 tls_global = NULL; in tls_deinit()
5227 if (tls_global->ocsp_stapling_response == NULL) { in ocsp_status_cb()
5232 resp = os_readfile(tls_global->ocsp_stapling_response, &len); in ocsp_status_cb()
5762 os_free(tls_global->ocsp_stapling_response); in tls_global_set_params()
5764 tls_global->ocsp_stapling_response = in tls_global_set_params()
5767 tls_global->ocsp_stapling_response = NULL; in tls_global_set_params()