Lines Matching refs:tm_ctx
134 static SSL_CTX *tm_ctx = NULL;
157 tm_ctx = NULL;
371 if ((tm_ctx = SSL_CTX_new(s_time_meth)) == NULL)
374 SSL_CTX_set_quiet_shutdown(tm_ctx, 1);
377 SSL_CTX_set_options(tm_ctx, SSL_OP_ALL);
378 SSL_CTX_set_cipher_list(tm_ctx, tm_cipher);
379 if (!set_cert_stuff(tm_ctx, t_cert_file, t_key_file))
384 if ((!SSL_CTX_load_verify_locations(tm_ctx, CAfile, CApath)) ||
385 (!SSL_CTX_set_default_verify_paths(tm_ctx))) {
565 if (tm_ctx != NULL) {
566 SSL_CTX_free(tm_ctx);
567 tm_ctx = NULL;
594 serverCon = SSL_new(tm_ctx);