Lines Matching refs:s_ctx
113 void do_threads(SSL_CTX *s_ctx,SSL_CTX *c_ctx);
193 SSL_CTX *s_ctx=NULL;
279 s_ctx=SSL_CTX_new(ssl_method);
280 if ((c_ctx == NULL) || (s_ctx == NULL))
286 SSL_CTX_set_session_cache_mode(s_ctx,
291 if (!SSL_CTX_use_certificate_file(s_ctx,scert,SSL_FILETYPE_PEM))
295 else if (!SSL_CTX_use_RSAPrivateKey_file(s_ctx,scert,SSL_FILETYPE_PEM))
309 if ( (!SSL_CTX_load_verify_locations(s_ctx,CAfile,CApath)) ||
310 (!SSL_CTX_set_default_verify_paths(s_ctx)) ||
322 SSL_CTX_set_verify(s_ctx,
334 do_threads(s_ctx,c_ctx);
344 if (s_ctx != NULL)
347 print_stats(stderr,s_ctx);
351 lh_stats(SSL_CTX_sessions(s_ctx),stderr);
353 /* lh_node_stats(SSL_CTX_sessions(s_ctx),stderr);
355 lh_node_usage_stats(SSL_CTX_sessions(s_ctx),stderr);
358 SSL_CTX_free(s_ctx);
421 SSL_CTX *s_ctx,*c_ctx;
436 s_ctx=(SSL_CTX *)ctx[0];
442 s_ssl=SSL_new(s_ctx);
762 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx)
771 ssl_ctx[0]=s_ctx;
891 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx)
897 ssl_ctx[0]=s_ctx;
917 s_ctx->references,c_ctx->references);
990 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx)
996 ssl_ctx[0]=s_ctx;
1012 s_ctx->references,c_ctx->references);
1089 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx)
1095 ssl_ctx[0]=s_ctx;
1114 s_ctx->references,c_ctx->references);
1181 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx)
1185 ssl_ctx[0]=s_ctx;
1203 s_ctx->references,c_ctx->references);
1275 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx)
1281 ssl_ctx[0]=s_ctx;
1299 s_ctx->references,c_ctx->references);