Lines Matching refs:c_ctx
113 void do_threads(SSL_CTX *s_ctx,SSL_CTX *c_ctx);
194 SSL_CTX *c_ctx=NULL; in main() local
278 c_ctx=SSL_CTX_new(ssl_method); in main()
280 if ((c_ctx == NULL) || (s_ctx == NULL)) in main()
288 SSL_CTX_set_session_cache_mode(c_ctx, in main()
303 SSL_CTX_use_certificate_file(c_ctx,ccert, in main()
305 SSL_CTX_use_RSAPrivateKey_file(c_ctx,ccert, in main()
311 (!SSL_CTX_load_verify_locations(c_ctx,CAfile,CApath)) || in main()
312 (!SSL_CTX_set_default_verify_paths(c_ctx))) in main()
329 SSL_CTX_set_verify(c_ctx,SSL_VERIFY_PEER, in main()
334 do_threads(s_ctx,c_ctx); in main()
338 if (c_ctx != NULL) in main()
341 print_stats(stderr,c_ctx); in main()
342 SSL_CTX_free(c_ctx); in main()
421 SSL_CTX *s_ctx,*c_ctx; in doit() local
437 c_ctx=(SSL_CTX *)ctx[1]; in doit()
447 c_ssl=SSL_new(c_ctx); in doit()
762 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx) in do_threads() argument
772 ssl_ctx[1]=c_ctx; in do_threads()
891 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx) in do_threads() argument
898 ssl_ctx[1]=c_ctx; in do_threads()
917 s_ctx->references,c_ctx->references); in do_threads()
990 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx) in do_threads() argument
997 ssl_ctx[1]=c_ctx; in do_threads()
1012 s_ctx->references,c_ctx->references); in do_threads()
1089 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx) in do_threads() argument
1096 ssl_ctx[1]=c_ctx; in do_threads()
1114 s_ctx->references,c_ctx->references); in do_threads()
1181 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx) in do_threads() argument
1186 ssl_ctx[1]=c_ctx; in do_threads()
1203 s_ctx->references,c_ctx->references); in do_threads()
1275 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx) in do_threads() argument
1282 ssl_ctx[1]=c_ctx; in do_threads()
1299 s_ctx->references,c_ctx->references); in do_threads()