Lines Matching defs:s_ctx
163 int doit(io_channel chan, SSL_CTX *s_ctx );
206 SSL_CTX *s_ctx=NULL;
232 s_ctx=SSL_CTX_new(SSLv2());
234 s_ctx=SSL_CTX_new(SSLv2_server_method());
236 if (s_ctx == NULL) goto end;
238 SSL_CTX_use_certificate_file(s_ctx,TEST_SERVER_CERT,SSL_FILETYPE_PEM);
239 SSL_CTX_use_RSAPrivateKey_file(s_ctx,TEST_SERVER_CERT,SSL_FILETYPE_PEM);
246 status = doit ( chan, s_ctx );
252 if (s_ctx != NULL) SSL_CTX_free(s_ctx);
257 int doit(io_channel chan, SSL_CTX *s_ctx )
270 s_ssl=SSL_new(s_ctx);