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