Lines Matching refs:connssl
94 struct ssl_connect_data *const connssl = io_ctx->cf->ctx; in read_cb() local
107 connssl->peer_closed = TRUE; in read_cb()
139 struct ssl_connect_data *const connssl = cf->ctx; in tls_recv_more() local
141 (struct rustls_ssl_backend_data *)connssl->backend; in tls_recv_more()
195 struct ssl_connect_data *const connssl = cf->ctx; in cr_recv() local
197 (struct rustls_ssl_backend_data *)connssl->backend; in cr_recv()
324 struct ssl_connect_data *const connssl = cf->ctx; in cr_send() local
326 (struct rustls_ssl_backend_data *)connssl->backend; in cr_send()
529 struct ssl_connect_data *connssl = cf->ctx; in cr_init_backend() local
651 if(connssl->alpn) { in cr_init_backend()
656 for(i = 0; i < connssl->alpn->count; ++i) { in cr_init_backend()
657 alpn[i].data = (const uint8_t *)connssl->alpn->entries[i]; in cr_init_backend()
658 alpn[i].len = strlen(connssl->alpn->entries[i]); in cr_init_backend()
661 connssl->alpn->count); in cr_init_backend()
662 Curl_alpn_to_proto_str(&proto, connssl->alpn); in cr_init_backend()
756 connssl->peer.hostname, &rconn); in cr_init_backend()
772 struct ssl_connect_data *const connssl = cf->ctx; in cr_set_negotiated_alpn() local
777 Curl_alpn_set_negotiated(cf, data, connssl, protocol, len); in cr_set_negotiated_alpn()
795 struct ssl_connect_data *const connssl = cf->ctx; in cr_connect_common() local
798 (struct rustls_ssl_backend_data *)connssl->backend; in cr_connect_common()
812 CURL_TRC_CF(data, cf, "cr_connect_common, state=%d", connssl->state); in cr_connect_common()
816 (struct rustls_ssl_backend_data *)connssl->backend); in cr_connect_common()
821 connssl->state = ssl_connection_negotiating; in cr_connect_common()
832 connssl->io_need = CURL_SSL_IO_NEED_NONE; in cr_connect_common()
841 connssl->io_need = CURL_SSL_IO_NEED_SEND; in cr_connect_common()
861 connssl->state = ssl_connection_complete; in cr_connect_common()
866 connssl->connecting_state = ssl_connect_2; in cr_connect_common()
902 connssl->io_need |= CURL_SSL_IO_NEED_SEND; in cr_connect_common()
904 connssl->io_need |= CURL_SSL_IO_NEED_RECV; in cr_connect_common()
958 cr_get_internals(struct ssl_connect_data *connssl, in cr_get_internals() argument
962 (struct rustls_ssl_backend_data *)connssl->backend; in cr_get_internals()
972 struct ssl_connect_data *connssl = cf->ctx; in cr_shutdown() local
974 (struct rustls_ssl_backend_data *)connssl->backend; in cr_shutdown()
986 connssl->io_need = CURL_SSL_IO_NEED_NONE; in cr_shutdown()
1000 connssl->io_need = CURL_SSL_IO_NEED_SEND; in cr_shutdown()
1023 connssl->io_need = CURL_SSL_IO_NEED_RECV; in cr_shutdown()
1039 struct ssl_connect_data *connssl = cf->ctx; in cr_close() local
1041 (struct rustls_ssl_backend_data *)connssl->backend; in cr_close()