Home
last modified time | relevance | path

Searched refs:ssl (Results 1 – 25 of 31) sorted by relevance

12

/libevent-2.1.12/
H A Dbufferevent_openssl.c297 SSL *ssl; member
1242 SSL_free(bev_ssl->ssl); in be_openssl_destruct()
1339 return bev_ssl->ssl; in bufferevent_openssl_get_ssl()
1346 SSL *ssl, in bufferevent_openssl_new_impl() argument
1372 bev_ssl->ssl = ssl; in bufferevent_openssl_new_impl()
1405 SSL_free(ssl); in bufferevent_openssl_new_impl()
1407 bev_ssl->ssl = NULL; in bufferevent_openssl_new_impl()
1416 SSL *ssl, in bufferevent_openssl_filter_new() argument
1436 SSL_free(ssl); in bufferevent_openssl_filter_new()
1443 SSL *ssl, in bufferevent_openssl_socket_new() argument
[all …]
/libevent-2.1.12/test-export/
H A Dtest-export.c55 SSL *ssl = NULL; in test() local
73 ssl = SSL_new(ssl_ctx); in test()
74 if (ssl == NULL) { in test()
77 bev = bufferevent_openssl_socket_new(base, -1, ssl, in test()
89 if (ssl) in test()
90 SSL_free(ssl); in test()
H A Dtest-export.c55 SSL *ssl = NULL; in test() local
73 ssl = SSL_new(ssl_ctx); in test()
74 if (ssl == NULL) { in test()
77 bev = bufferevent_openssl_socket_new(base, -1, ssl, in test()
89 if (ssl) in test()
90 SSL_free(ssl); in test()
H A Dtest-export.c55 SSL *ssl = NULL; in test() local
73 ssl = SSL_new(ssl_ctx); in test()
74 if (ssl == NULL) { in test()
77 bev = bufferevent_openssl_socket_new(base, -1, ssl, in test()
89 if (ssl) in test()
90 SSL_free(ssl); in test()
H A Dtest-export.c55 SSL *ssl = NULL; in test() local
73 ssl = SSL_new(ssl_ctx); in test()
74 if (ssl == NULL) { in test()
77 bev = bufferevent_openssl_socket_new(base, -1, ssl, in test()
89 if (ssl) in test()
90 SSL_free(ssl); in test()
H A Dtest-export.c55 SSL *ssl = NULL; in test() local
73 ssl = SSL_new(ssl_ctx); in test()
74 if (ssl == NULL) { in test()
77 bev = bufferevent_openssl_socket_new(base, -1, ssl, in test()
89 if (ssl) in test()
90 SSL_free(ssl); in test()
H A Dtest-export.c55 SSL *ssl = NULL; in test() local
73 ssl = SSL_new(ssl_ctx); in test()
74 if (ssl == NULL) { in test()
77 bev = bufferevent_openssl_socket_new(base, -1, ssl, in test()
89 if (ssl) in test()
90 SSL_free(ssl); in test()
H A Dtest-export.c55 SSL *ssl = NULL; in test() local
73 ssl = SSL_new(ssl_ctx); in test()
74 if (ssl == NULL) { in test()
77 bev = bufferevent_openssl_socket_new(base, -1, ssl, in test()
89 if (ssl) in test()
90 SSL_free(ssl); in test()
H A Dtest-export.c55 SSL *ssl = NULL; in test() local
73 ssl = SSL_new(ssl_ctx); in test()
74 if (ssl == NULL) { in test()
77 bev = bufferevent_openssl_socket_new(base, -1, ssl, in test()
89 if (ssl) in test()
90 SSL_free(ssl); in test()
H A Dtest-export.c55 SSL *ssl = NULL; in test() local
73 ssl = SSL_new(ssl_ctx); in test()
74 if (ssl == NULL) { in test()
77 bev = bufferevent_openssl_socket_new(base, -1, ssl, in test()
89 if (ssl) in test()
90 SSL_free(ssl); in test()
H A Dtest-export.c55 SSL *ssl = NULL; in test() local
73 ssl = SSL_new(ssl_ctx); in test()
74 if (ssl == NULL) { in test()
77 bev = bufferevent_openssl_socket_new(base, -1, ssl, in test()
89 if (ssl) in test()
90 SSL_free(ssl); in test()
H A Dtest-export.c55 SSL *ssl = NULL; in test() local
73 ssl = SSL_new(ssl_ctx); in test()
74 if (ssl == NULL) { in test()
77 bev = bufferevent_openssl_socket_new(base, -1, ssl, in test()
89 if (ssl) in test()
90 SSL_free(ssl); in test()
H A Dtest-export.c55 SSL *ssl = NULL; in test() local
73 ssl = SSL_new(ssl_ctx); in test()
74 if (ssl == NULL) { in test()
77 bev = bufferevent_openssl_socket_new(base, -1, ssl, in test()
89 if (ssl) in test()
90 SSL_free(ssl); in test()
H A Dtest-export.c55 SSL *ssl = NULL; in test() local
73 ssl = SSL_new(ssl_ctx); in test()
74 if (ssl == NULL) { in test()
77 bev = bufferevent_openssl_socket_new(base, -1, ssl, in test()
89 if (ssl) in test()
90 SSL_free(ssl); in test()
H A Dtest-export.c55 SSL *ssl = NULL; in test() local
73 ssl = SSL_new(ssl_ctx); in test()
74 if (ssl == NULL) { in test()
77 bev = bufferevent_openssl_socket_new(base, -1, ssl, in test()
89 if (ssl) in test()
90 SSL_free(ssl); in test()
H A Dtest-export.c55 SSL *ssl = NULL; in test() local
73 ssl = SSL_new(ssl_ctx); in test()
74 if (ssl == NULL) { in test()
77 bev = bufferevent_openssl_socket_new(base, -1, ssl, in test()
89 if (ssl) in test()
90 SSL_free(ssl); in test()
H A Dtest-export.c55 SSL *ssl = NULL; in test() local
73 ssl = SSL_new(ssl_ctx); in test()
74 if (ssl == NULL) { in test()
77 bev = bufferevent_openssl_socket_new(base, -1, ssl, in test()
89 if (ssl) in test()
90 SSL_free(ssl); in test()
H A Dtest-export.c55 SSL *ssl = NULL; in test() local
73 ssl = SSL_new(ssl_ctx); in test()
74 if (ssl == NULL) { in test()
77 bev = bufferevent_openssl_socket_new(base, -1, ssl, in test()
89 if (ssl) in test()
90 SSL_free(ssl); in test()
H A Dtest-export.c55 SSL *ssl = NULL; in test() local
73 ssl = SSL_new(ssl_ctx); in test()
74 if (ssl == NULL) { in test()
77 bev = bufferevent_openssl_socket_new(base, -1, ssl, in test()
89 if (ssl) in test()
90 SSL_free(ssl); in test()
H A Dtest-export.c55 SSL *ssl = NULL; in test() local
73 ssl = SSL_new(ssl_ctx); in test()
74 if (ssl == NULL) { in test()
77 bev = bufferevent_openssl_socket_new(base, -1, ssl, in test()
89 if (ssl) in test()
90 SSL_free(ssl); in test()
/libevent-2.1.12/test/
H A Dregress_ssl.c373 SSL *ssl; in eventcb() local
376 tt_assert(ssl); in eventcb()
738 SSL *ssl; in regress_bufferevent_openssl_connect() local
758 ssl = SSL_new(get_ssl_ctx()); in regress_bufferevent_openssl_connect()
759 tt_assert(ssl); in regress_bufferevent_openssl_connect()
762 data->base, -1, ssl, in regress_bufferevent_openssl_connect()
786 SSL_set_bio(ssl, bio, bio); in regress_bufferevent_openssl_connect()
895 SSL *ssl; in regress_bufferevent_openssl_wm() local
943 ssl = SSL_new(get_ssl_ctx()); in regress_bufferevent_openssl_wm()
944 tt_assert(ssl); in regress_bufferevent_openssl_wm()
[all …]
H A Dregress_http.c123 SSL *ssl = SSL_new(get_ssl_ctx()); in https_bev() local
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
514 int server_flags = ssl ? HTTP_BIND_SSL : 0; 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_()
[all …]
/libevent-2.1.12/sample/
H A Dhttps-client.c229 SSL *ssl = NULL; in main() local
421 ssl = SSL_new(ssl_ctx); in main()
422 if (ssl == NULL) { in main()
429 SSL_set_tlsext_host_name(ssl, host); in main()
436 bev = bufferevent_openssl_socket_new(base, -1, ssl, in main()
520 if (type == HTTP && ssl) in main()
521 SSL_free(ssl); in main()
H A Dle-proxy.c172 SSL *ssl = SSL_new(ssl_ctx); in accept_cb() local
173 b_out = bufferevent_openssl_socket_new(base, -1, ssl, in accept_cb()
190 SSL *ssl = SSL_new(ssl_ctx); in accept_cb() local
192 b_out, ssl, BUFFEREVENT_SSL_CONNECTING, in accept_cb()
/libevent-2.1.12/include/event2/
H A Dbufferevent_ssl.h71 struct ssl_st *ssl,
89 struct ssl_st *ssl,

12