Lines Matching refs:ssl

123 	SSL *ssl = SSL_new(get_ssl_ctx());  in https_bev()  local
125 SSL_use_certificate(ssl, ssl_getcert(ssl_getkey())); in https_bev()
126 SSL_use_PrivateKey(ssl, ssl_getkey()); in https_bev()
129 base, -1, ssl, BUFFEREVENT_SSL_ACCEPTING, in https_bev()
473 SSL *ssl = SSL_new(get_ssl_ctx()); in create_bev() local
478 base, underlying, ssl, BUFFEREVENT_SSL_CONNECTING, flags); in create_bev()
481 base, fd, ssl, BUFFEREVENT_SSL_CONNECTING, flags); in create_bev()
507 http_basic_test_impl(void *arg, int ssl, const char *request_line) in http_basic_test_impl() argument
514 int server_flags = ssl ? HTTP_BIND_SSL : 0; in http_basic_test_impl()
529 bev = create_bev(data->base, fd, ssl, BEV_OPT_CLOSE_ON_FREE); in http_basic_test_impl()
549 bev = create_bev(data->base, fd, ssl, BEV_OPT_CLOSE_ON_FREE); in http_basic_test_impl()
570 bev = create_bev(data->base, fd, ssl, BEV_OPT_CLOSE_ON_FREE); in http_basic_test_impl()
1062 int ssl) in http_connection_test_() argument
1072 if (ssl) in http_connection_test_()
1083 if (ssl) { in http_connection_test_()
1085 SSL *ssl = SSL_new(get_ssl_ctx()); in http_connection_test_() local
1087 data->base, -1, ssl, in http_connection_test_()
3103 http_incomplete_test_(struct basic_test_data *data, int use_timeout, int ssl) in http_incomplete_test_() argument
3110 struct evhttp *http = http_setup(&port, data->base, ssl ? HTTP_BIND_SSL : 0); in http_incomplete_test_()
3121 bev = create_bev(data->base, fd, ssl, 0); in http_incomplete_test_()
3318 http_chunk_out_test_impl(void *arg, int ssl) in http_chunk_out_test_impl() argument
3329 struct evhttp *http = http_setup(&port, data->base, ssl ? HTTP_BIND_SSL : 0); in http_chunk_out_test_impl()
3338 bev = create_bev(data->base, fd, ssl, BEV_OPT_CLOSE_ON_FREE); in http_chunk_out_test_impl()
3366 bev = create_bev(data->base, -1, ssl, BEV_OPT_CLOSE_ON_FREE); in http_chunk_out_test_impl()
3399 http_stream_out_test_impl(void *arg, int ssl) in http_stream_out_test_impl() argument
3406 struct evhttp *http = http_setup(&port, data->base, ssl ? HTTP_BIND_SSL : 0); in http_stream_out_test_impl()
3411 bev = create_bev(data->base, -1, ssl, 0); in http_stream_out_test_impl()
3596 http_connection_fail_test_impl(void *arg, int ssl) in http_connection_fail_test_impl() argument
3603 struct evhttp *http = http_setup(&port, data->base, ssl ? HTTP_BIND_SSL : 0); in http_connection_fail_test_impl()
3611 bev = create_bev(data->base, -1, ssl, 0); in http_connection_fail_test_impl()
3659 int ssl; member
3667 hs->http = http_setup(&hs->port, http_make_web_server_base, hs->ssl ? HTTP_BIND_SSL : 0); in http_make_web_server()
3671 http_simple_test_impl(void *arg, int ssl, int dirty, const char *uri) in http_simple_test_impl() argument
3677 struct http_server hs = { 0, ssl, NULL, }; in http_simple_test_impl()
3678 struct evhttp *http = http_setup(&hs.port, data->base, ssl ? HTTP_BIND_SSL : 0); in http_simple_test_impl()
3683 bev = create_bev(data->base, -1, ssl, 0); in http_simple_test_impl()
3714 http_connection_retry_test_basic(void *arg, const char *addr, struct evdns_base *dns_base, int ssl) in http_connection_retry_test_basic() argument
3721 struct http_server hs = { 0, ssl, NULL, }; in http_connection_retry_test_basic()
3722 struct evhttp *http = http_setup(&hs.port, data->base, ssl ? HTTP_BIND_SSL : 0); in http_connection_retry_test_basic()
3730 bev = create_bev(data->base, -1, ssl, 0); in http_connection_retry_test_basic()
3844 http_connection_retry_conn_address_test_impl(void *arg, int ssl) in http_connection_retry_conn_address_test_impl() argument
3860 http_connection_retry_test_basic(arg, "localhost", dns_base, ssl); in http_connection_retry_conn_address_test_impl()
3871 http_connection_retry_test_impl(void *arg, int ssl) in http_connection_retry_test_impl() argument
3873 http_connection_retry_test_basic(arg, "127.0.0.1", NULL, ssl); in http_connection_retry_test_impl()
4503 http_write_during_read_test_impl(void *arg, int ssl) in http_write_during_read_test_impl() argument
4511 struct evhttp *http = http_setup(&port, data->base, ssl ? HTTP_BIND_SSL : 0); in http_write_during_read_test_impl()