Lines Matching refs:connssl

458   struct ssl_connect_data *connssl = cf->ctx;  in schannel_acquire_credential_handle()  local
474 (struct schannel_ssl_backend_data *)(connssl->backend); in schannel_acquire_credential_handle()
881 struct ssl_connect_data *connssl = cf->ctx; in schannel_connect_step1() local
883 (struct schannel_ssl_backend_data *)connssl->backend; in schannel_connect_step1()
900 connssl->peer.hostname, connssl->peer.port)); in schannel_connect_step1()
913 backend->use_alpn = connssl->alpn && in schannel_connect_step1()
958 if(!Curl_ssl_getsessionid(cf, data, &connssl->peer, in schannel_connect_step1()
982 snihost = connssl->peer.sni ? connssl->peer.sni : connssl->peer.hostname; in schannel_connect_step1()
989 if(connssl->peer.type != CURL_SSL_PEER_DNS) { in schannel_connect_step1()
1019 result = Curl_alpn_to_proto_buf(&proto, connssl->alpn); in schannel_connect_step1()
1034 Curl_alpn_to_proto_str(&proto, connssl->alpn); in schannel_connect_step1()
1135 connssl->connecting_state = ssl_connect_2; in schannel_connect_step1()
1143 struct ssl_connect_data *connssl = cf->ctx; in schannel_connect_step2() local
1145 (struct schannel_ssl_backend_data *)connssl->backend; in schannel_connect_step2()
1161 doread = (connssl->io_need & CURL_SSL_IO_NEED_SEND) ? FALSE : TRUE; in schannel_connect_step2()
1162 connssl->io_need = CURL_SSL_IO_NEED_NONE; in schannel_connect_step2()
1166 connssl->peer.hostname, connssl->peer.port)); in schannel_connect_step2()
1223 connssl->io_need = CURL_SSL_IO_NEED_RECV; in schannel_connect_step2()
1277 connssl->io_need = CURL_SSL_IO_NEED_RECV; in schannel_connect_step2()
1289 connssl->io_need = CURL_SSL_IO_NEED_SEND; in schannel_connect_step2()
1389 connssl->io_need = CURL_SSL_IO_NEED_RECV; in schannel_connect_step2()
1395 connssl->connecting_state = ssl_connect_3; in schannel_connect_step2()
1529 struct ssl_connect_data *connssl = cf->ctx; in schannel_connect_step3() local
1531 (struct schannel_ssl_backend_data *)connssl->backend; in schannel_connect_step3()
1540 DEBUGASSERT(ssl_connect_3 == connssl->connecting_state); in schannel_connect_step3()
1545 connssl->peer.hostname, connssl->peer.port)); in schannel_connect_step3()
1581 Curl_alpn_set_negotiated(cf, data, connssl, alpn_result.ProtocolId, in schannel_connect_step3()
1595 Curl_alpn_set_negotiated(cf, data, connssl, NULL, 0); in schannel_connect_step3()
1605 result = Curl_ssl_set_sessionid(cf, data, &connssl->peer, NULL, in schannel_connect_step3()
1642 connssl->connecting_state = ssl_connect_done; in schannel_connect_step3()
1653 struct ssl_connect_data *connssl = cf->ctx; in schannel_connect_common() local
1659 if(ssl_connection_complete == connssl->state) { in schannel_connect_common()
1664 if(ssl_connect_1 == connssl->connecting_state) { in schannel_connect_common()
1679 while(ssl_connect_2 == connssl->connecting_state) { in schannel_connect_common()
1691 if(connssl->io_need) { in schannel_connect_common()
1693 curl_socket_t writefd = (connssl->io_need & CURL_SSL_IO_NEED_SEND) ? in schannel_connect_common()
1695 curl_socket_t readfd = (connssl->io_need & CURL_SSL_IO_NEED_RECV) ? in schannel_connect_common()
1727 if(result || (nonblocking && (ssl_connect_2 == connssl->connecting_state))) in schannel_connect_common()
1732 if(ssl_connect_3 == connssl->connecting_state) { in schannel_connect_common()
1738 if(ssl_connect_done == connssl->connecting_state) { in schannel_connect_common()
1739 connssl->state = ssl_connection_complete; in schannel_connect_common()
1749 (struct schannel_ssl_backend_data *)connssl->backend; in schannel_connect_common()
1761 connssl->connecting_state = ssl_connect_1; in schannel_connect_common()
1773 struct ssl_connect_data *connssl = cf->ctx; in schannel_send() local
1779 (struct schannel_ssl_backend_data *)connssl->backend; in schannel_send()
1919 struct ssl_connect_data *connssl = cf->ctx; in schannel_recv() local
1930 (struct schannel_ssl_backend_data *)connssl->backend; in schannel_recv()
2130 connssl->state = ssl_connection_negotiating; in schannel_recv()
2131 connssl->connecting_state = ssl_connect_2; in schannel_recv()
2132 connssl->io_need = CURL_SSL_IO_NEED_SEND; in schannel_recv()
2270 const struct ssl_connect_data *connssl = cf->ctx; in schannel_data_pending() local
2272 (struct schannel_ssl_backend_data *)connssl->backend; in schannel_data_pending()
2297 struct ssl_connect_data *connssl = cf->ctx; in schannel_shutdown() local
2299 (struct schannel_ssl_backend_data *)connssl->backend; in schannel_shutdown()
2316 connssl->peer.hostname, connssl->peer.port); in schannel_shutdown()
2382 connssl->io_need = CURL_SSL_IO_NEED_SEND; in schannel_shutdown()
2417 connssl->io_need = CURL_SSL_IO_NEED_RECV; in schannel_shutdown()
2432 struct ssl_connect_data *connssl = cf->ctx; in schannel_close() local
2434 (struct schannel_ssl_backend_data *)connssl->backend; in schannel_close()
2497 struct ssl_connect_data *connssl = cf->ctx; in schannel_pkp_pin_peer_pubkey() local
2499 (struct schannel_ssl_backend_data *)connssl->backend; in schannel_pkp_pin_peer_pubkey()
2629 static void *schannel_get_internals(struct ssl_connect_data *connssl, in schannel_get_internals() argument
2633 (struct schannel_ssl_backend_data *)connssl->backend; in schannel_get_internals()