Lines Matching refs:global
37 struct tls_global *global; in tls_init() local
51 global = (struct tls_global *)os_zalloc(sizeof(*global)); in tls_init()
52 if (global == NULL) in tls_init()
55 return global; in tls_init()
60 struct tls_global *global = ssl_ctx; in tls_deinit() local
67 tlsv1_cred_free(global->server_cred); in tls_deinit()
71 os_free(global); in tls_deinit()
84 struct tls_global *global = tls_ctx; in tls_connection_init() local
90 if (!global->server) { in tls_connection_init()
99 if (global->server) { in tls_connection_init()
100 conn->server = tlsv1_server_init(global->server_cred); in tls_connection_init()
215 struct tls_global *global = tls_ctx; in tls_global_set_params() local
220 global->server = 1; in tls_global_set_params()
221 tlsv1_cred_free(global->server_cred); in tls_global_set_params()
222 global->server_cred = cred = tlsv1_cred_alloc(); in tls_global_set_params()
263 struct tls_global *global = tls_ctx; in tls_global_set_verify() local
264 global->check_crl = check_crl; in tls_global_set_verify()