Lines Matching refs:tm_ctx
131 static SSL_CTX *tm_ctx=NULL;
154 tm_ctx=NULL;
365 if ((tm_ctx=SSL_CTX_new(s_time_meth)) == NULL) return(1);
367 SSL_CTX_set_quiet_shutdown(tm_ctx,1);
369 if (st_bugs) SSL_CTX_set_options(tm_ctx,SSL_OP_ALL);
370 SSL_CTX_set_cipher_list(tm_ctx,tm_cipher);
371 if(!set_cert_stuff(tm_ctx,t_cert_file,t_key_file))
376 if ((!SSL_CTX_load_verify_locations(tm_ctx,CAfile,CApath)) ||
377 (!SSL_CTX_set_default_verify_paths(tm_ctx)))
550 if (tm_ctx != NULL)
552 SSL_CTX_free(tm_ctx);
553 tm_ctx=NULL;
580 serverCon=SSL_new(tm_ctx);