Lines Matching refs:c_ctx
113 void do_threads(SSL_CTX *s_ctx,SSL_CTX *c_ctx);
192 SSL_CTX *c_ctx=NULL;
276 c_ctx=SSL_CTX_new(ssl_method);
278 if ((c_ctx == NULL) || (s_ctx == NULL))
286 SSL_CTX_set_session_cache_mode(c_ctx,
301 SSL_CTX_use_certificate_file(c_ctx,ccert,
303 SSL_CTX_use_RSAPrivateKey_file(c_ctx,ccert,
309 (!SSL_CTX_load_verify_locations(c_ctx,CAfile,CApath)) ||
310 (!SSL_CTX_set_default_verify_paths(c_ctx)))
327 SSL_CTX_set_verify(c_ctx,SSL_VERIFY_PEER,
332 do_threads(s_ctx,c_ctx);
336 if (c_ctx != NULL)
339 print_stats(stderr,c_ctx);
340 SSL_CTX_free(c_ctx);
419 SSL_CTX *s_ctx,*c_ctx;
435 c_ctx=(SSL_CTX *)ctx[1];
445 c_ssl=SSL_new(c_ctx);
760 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx)
770 ssl_ctx[1]=c_ctx;
889 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx)
896 ssl_ctx[1]=c_ctx;
915 s_ctx->references,c_ctx->references);
988 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx)
995 ssl_ctx[1]=c_ctx;
1010 s_ctx->references,c_ctx->references);
1087 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx)
1094 ssl_ctx[1]=c_ctx;
1112 s_ctx->references,c_ctx->references);
1179 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx)
1184 ssl_ctx[1]=c_ctx;
1201 s_ctx->references,c_ctx->references);