Lines Matching refs:tm_ctx
97 static SSL_CTX *tm_ctx = NULL; variable
275 if ((tm_ctx = SSL_CTX_new(s_time_meth)) == NULL) in s_time_main()
278 SSL_CTX_set_quiet_shutdown(tm_ctx, 1); in s_time_main()
281 SSL_CTX_set_options(tm_ctx, SSL_OP_ALL); in s_time_main()
284 if (!SSL_CTX_set_cipher_list(tm_ctx, s_time_config.cipher)) { in s_time_main()
291 SSL_CTX_set_verify(tm_ctx, s_time_config.verify, NULL); in s_time_main()
293 if (!set_cert_stuff(tm_ctx, s_time_config.certfile, in s_time_main()
297 if ((!SSL_CTX_load_verify_locations(tm_ctx, s_time_config.CAfile, in s_time_main()
299 (!SSL_CTX_set_default_verify_paths(tm_ctx))) { in s_time_main()
326 if (tm_ctx != NULL) { in s_time_main()
327 SSL_CTX_free(tm_ctx); in s_time_main()
328 tm_ctx = NULL; in s_time_main()
425 if ((scon = SSL_new(tm_ctx)) == NULL) in benchmark()
444 if ((scon = SSL_new(tm_ctx)) == NULL) in benchmark()