• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/threads/

Lines Matching refs:s_ctx

106 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx);
187 SSL_CTX *s_ctx = NULL;
266 s_ctx = SSL_CTX_new(ssl_method);
267 if ((c_ctx == NULL) || (s_ctx == NULL)) {
272 SSL_CTX_set_session_cache_mode(s_ctx,
279 if (!SSL_CTX_use_certificate_file(s_ctx, scert, SSL_FILETYPE_PEM)) {
284 if (!SSL_CTX_use_RSAPrivateKey_file(s_ctx, scert, SSL_FILETYPE_PEM)) {
295 if ((!SSL_CTX_load_verify_locations(s_ctx, CAfile, CApath)) ||
296 (!SSL_CTX_set_default_verify_paths(s_ctx)) ||
306 SSL_CTX_set_verify(s_ctx,
316 do_threads(s_ctx, c_ctx);
325 if (s_ctx != NULL) {
327 print_stats(bio_err, s_ctx);
330 lh_SSL_SESSION_stats_bio(SSL_CTX_sessions(s_ctx), bio_err);
332 /*- lh_SSL_SESSION_node_stats_bio(SSL_CTX_sessions(s_ctx),bio_err);
334 lh_SSL_SESSION_node_usage_stats_bio(SSL_CTX_sessions(s_ctx), bio_err);
337 SSL_CTX_free(s_ctx);
397 SSL_CTX *s_ctx, *c_ctx;
412 s_ctx = (SSL_CTX *)ctx[0];
418 s_ssl = SSL_new(s_ctx);
699 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx)
708 ssl_ctx[0] = s_ctx;
824 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx)
830 ssl_ctx[0] = s_ctx;
846 s_ctx->references, c_ctx->references);
913 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx)
919 ssl_ctx[0] = s_ctx;
934 s_ctx->references, c_ctx->references);
1004 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx)
1010 ssl_ctx[0] = s_ctx;
1028 s_ctx->references, c_ctx->references);
1089 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx)
1093 ssl_ctx[0] = s_ctx;
1110 s_ctx->references, c_ctx->references);
1177 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx)
1183 ssl_ctx[0] = s_ctx;
1200 s_ctx->references, c_ctx->references);