Lines Matching refs:connssl
754 struct ssl_connect_data *connssl = cf->ctx; in ossl_bio_cf_out_write() local
755 struct ossl_ctx *octx = (struct ossl_ctx *)connssl->backend; in ossl_bio_cf_out_write()
780 struct ssl_connect_data *connssl = cf->ctx; in ossl_bio_cf_in_read() local
781 struct ossl_ctx *octx = (struct ossl_ctx *)connssl->backend; in ossl_bio_cf_in_read()
803 connssl->peer_closed = TRUE; in ossl_bio_cf_in_read()
1889 struct ssl_connect_data *connssl = cf->ctx; in ossl_shutdown() local
1890 struct ossl_ctx *octx = (struct ossl_ctx *)connssl->backend; in ossl_shutdown()
1903 connssl->io_need = CURL_SSL_IO_NEED_NONE; in ossl_shutdown()
1928 connssl->peer_closed = TRUE; in ossl_shutdown()
1948 connssl->io_need = CURL_SSL_IO_NEED_SEND; in ossl_shutdown()
1976 connssl->io_need = CURL_SSL_IO_NEED_RECV; in ossl_shutdown()
1980 connssl->io_need = CURL_SSL_IO_NEED_SEND; in ossl_shutdown()
2003 struct ssl_connect_data *connssl = cf->ctx; in ossl_close() local
2004 struct ossl_ctx *octx = (struct ossl_ctx *)connssl->backend; in ossl_close()
2821 struct ssl_connect_data *connssl = cf->ctx; in ossl_set_ssl_version_min_max_legacy() local
2822 struct ossl_ctx *octx = (struct ossl_ctx *)connssl->backend; in ossl_set_ssl_version_min_max_legacy()
2935 struct ssl_connect_data *connssl; in ossl_new_session_cb() local
2938 connssl = cf ? cf->ctx : NULL; in ossl_new_session_cb()
2939 data = connssl ? CF_DATA_CURRENT(cf) : NULL; in ossl_new_session_cb()
2940 Curl_ossl_add_session(cf, data, &connssl->peer, ssl_sessionid); in ossl_new_session_cb()
4010 struct ssl_connect_data *connssl = cf->ctx; in ossl_connect_step1() local
4011 struct ossl_ctx *octx = (struct ossl_ctx *)connssl->backend; in ossl_connect_step1()
4016 DEBUGASSERT(ssl_connect_1 == connssl->connecting_state); in ossl_connect_step1()
4020 if(connssl->alpn) { in ossl_connect_step1()
4021 result = Curl_alpn_to_proto_buf(&proto, connssl->alpn); in ossl_connect_step1()
4029 result = Curl_ossl_ctx_init(octx, cf, data, &connssl->peer, TRNSPRT_TCP, in ossl_connect_step1()
4057 if(connssl->alpn) { in ossl_connect_step1()
4058 Curl_alpn_to_proto_str(&proto, connssl->alpn); in ossl_connect_step1()
4062 connssl->connecting_state = ssl_connect_2; in ossl_connect_step1()
4134 struct ssl_connect_data *connssl = cf->ctx; local
4135 struct ossl_ctx *octx = (struct ossl_ctx *)connssl->backend;
4137 DEBUGASSERT(ssl_connect_2 == connssl->connecting_state);
4140 connssl->io_need = CURL_SSL_IO_NEED_NONE;
4171 connssl->io_need = CURL_SSL_IO_NEED_RECV;
4176 connssl->io_need = CURL_SSL_IO_NEED_SEND;
4182 connssl->io_need = CURL_SSL_IO_NEED_RECV;
4183 connssl->connecting_state = ssl_connect_2;
4190 connssl->io_need = CURL_SSL_IO_NEED_RECV;
4191 connssl->connecting_state = ssl_connect_2;
4205 connssl->connecting_state = ssl_connect_2;
4280 connssl->peer.hostname, connssl->peer.port);
4292 connssl->connecting_state = ssl_connect_3;
4377 if(connssl->alpn) {
4382 return Curl_alpn_set_negotiated(cf, data, connssl, neg_protocol, len);
4757 struct ssl_connect_data *connssl = cf->ctx; local
4758 struct ossl_ctx *octx = (struct ossl_ctx *)connssl->backend;
4760 DEBUGASSERT(ssl_connect_3 == connssl->connecting_state);
4769 result = Curl_oss_check_peer_cert(cf, data, octx, &connssl->peer);
4771 connssl->connecting_state = ssl_connect_done;
4782 struct ssl_connect_data *connssl = cf->ctx; local
4786 connssl->io_need = CURL_SSL_IO_NEED_NONE;
4788 if(ssl_connection_complete == connssl->state) {
4793 if(ssl_connect_1 == connssl->connecting_state) {
4808 while(ssl_connect_2 == connssl->connecting_state) {
4821 if(!nonblocking && connssl->io_need) {
4822 curl_socket_t writefd = (connssl->io_need & CURL_SSL_IO_NEED_SEND) ?
4824 curl_socket_t readfd = (connssl->io_need & CURL_SSL_IO_NEED_RECV) ?
4851 if(result || (nonblocking && (ssl_connect_2 == connssl->connecting_state)))
4856 if(ssl_connect_3 == connssl->connecting_state) {
4862 if(ssl_connect_done == connssl->connecting_state) {
4863 connssl->state = ssl_connection_complete;
4870 connssl->connecting_state = ssl_connect_1;
4901 struct ssl_connect_data *connssl = cf->ctx; local
4902 struct ossl_ctx *octx = (struct ossl_ctx *)connssl->backend;
4905 DEBUGASSERT(connssl && octx);
4924 struct ssl_connect_data *connssl = cf->ctx; local
4925 struct ossl_ctx *octx = (struct ossl_ctx *)connssl->backend;
4932 connssl->io_need = CURL_SSL_IO_NEED_NONE;
4941 connssl->io_need = CURL_SSL_IO_NEED_RECV;
5009 struct ssl_connect_data *connssl = cf->ctx; local
5010 struct ossl_ctx *octx = (struct ossl_ctx *)connssl->backend;
5017 connssl->io_need = CURL_SSL_IO_NEED_NONE;
5040 connssl->io_need = CURL_SSL_IO_NEED_SEND;
5122 struct ssl_connect_data *connssl = cf->ctx; local
5125 octx = (struct ossl_ctx *)connssl->backend;
5319 static void *ossl_get_internals(struct ssl_connect_data *connssl, argument
5323 struct ossl_ctx *octx = (struct ossl_ctx *)connssl->backend;