Lines Matching refs:global
42 struct tls_global *global; in tls_init() local
56 global = os_zalloc(sizeof(*global)); in tls_init()
57 if (global == NULL) in tls_init()
60 return global; in tls_init()
65 struct tls_global *global = ssl_ctx; in tls_deinit() local
72 tlsv1_cred_free(global->server_cred); in tls_deinit()
76 os_free(global); in tls_deinit()
89 struct tls_global *global = tls_ctx; in tls_connection_init() local
96 if (!global->server) { in tls_connection_init()
105 if (global->server) { in tls_connection_init()
106 conn->server = tlsv1_server_init(global->server_cred); in tls_connection_init()
225 struct tls_global *global = tls_ctx; in tls_global_set_params() local
230 global->server = 1; in tls_global_set_params()
231 tlsv1_cred_free(global->server_cred); in tls_global_set_params()
232 global->server_cred = cred = tlsv1_cred_alloc(); in tls_global_set_params()
273 struct tls_global *global = tls_ctx; in tls_global_set_verify() local
274 global->check_crl = check_crl; in tls_global_set_verify()