Lines Matching refs:connssl

315   struct ssl_connect_data *connssl = cf->ctx;  in wolfssl_bio_cf_out_write()  local
317 (struct wolfssl_ctx *)connssl->backend; in wolfssl_bio_cf_out_write()
353 struct ssl_connect_data *connssl = cf->ctx; in wolfssl_bio_cf_in_read() local
355 (struct wolfssl_ctx *)connssl->backend; in wolfssl_bio_cf_in_read()
374 connssl->peer_closed = TRUE; in wolfssl_bio_cf_in_read()
463 struct ssl_connect_data *connssl = cf->ctx; in wssl_vtls_new_session_cb() local
465 DEBUGASSERT(connssl); in wssl_vtls_new_session_cb()
467 if(connssl && data) { in wssl_vtls_new_session_cb()
468 (void)wssl_cache_session(cf, data, &connssl->peer, session); in wssl_vtls_new_session_cb()
846 struct ssl_connect_data *connssl = cf->ctx; in wolfssl_connect_step1() local
848 (struct wolfssl_ctx *)connssl->backend; in wolfssl_connect_step1()
859 if(connssl->state == ssl_connection_complete) in wolfssl_connect_step1()
1102 if(connssl->peer.sni) { in wolfssl_connect_step1()
1103 size_t sni_len = strlen(connssl->peer.sni); in wolfssl_connect_step1()
1106 connssl->peer.sni, in wolfssl_connect_step1()
1158 if(connssl->alpn) { in wolfssl_connect_step1()
1162 result = Curl_alpn_to_proto_str(&proto, connssl->alpn); in wolfssl_connect_step1()
1195 (void)wssl_setup_session(cf, data, backend, &connssl->peer); in wolfssl_connect_step1()
1233 dns = Curl_fetch_addr(data, connssl->peer.hostname, connssl->peer.port); in wolfssl_connect_step1()
1297 connssl->connecting_state = ssl_connect_2; in wolfssl_connect_step1()
1324 struct ssl_connect_data *connssl = cf->ctx; in wolfssl_connect_step2() local
1326 (struct wolfssl_ctx *)connssl->backend; in wolfssl_connect_step2()
1342 char *snihost = connssl->peer.sni ? in wolfssl_connect_step2()
1343 connssl->peer.sni : connssl->peer.hostname; in wolfssl_connect_step2()
1357 connssl->io_need = CURL_SSL_IO_NEED_NONE; in wolfssl_connect_step2()
1388 connssl->io_need = CURL_SSL_IO_NEED_RECV; in wolfssl_connect_step2()
1392 connssl->io_need = CURL_SSL_IO_NEED_SEND; in wolfssl_connect_step2()
1401 connssl->peer.dispname); in wolfssl_connect_step2()
1413 connssl->dispname); in wolfssl_connect_step2()
1419 connssl->dispname); in wolfssl_connect_step2()
1528 if(connssl->alpn) { in wolfssl_connect_step2()
1536 Curl_alpn_set_negotiated(cf, data, connssl, in wolfssl_connect_step2()
1540 Curl_alpn_set_negotiated(cf, data, connssl, NULL, 0); in wolfssl_connect_step2()
1548 connssl->connecting_state = ssl_connect_3; in wolfssl_connect_step2()
1566 struct ssl_connect_data *connssl = cf->ctx; in wolfssl_send() local
1568 (struct wolfssl_ctx *)connssl->backend; in wolfssl_send()
1613 struct ssl_connect_data *connssl = cf->ctx; in wolfssl_shutdown() local
1614 struct wolfssl_ctx *wctx = (struct wolfssl_ctx *)connssl->backend; in wolfssl_shutdown()
1629 connssl->io_need = CURL_SSL_IO_NEED_NONE; in wolfssl_shutdown()
1651 connssl->peer_closed = TRUE; in wolfssl_shutdown()
1669 connssl->io_need = CURL_SSL_IO_NEED_SEND; in wolfssl_shutdown()
1693 connssl->io_need = CURL_SSL_IO_NEED_RECV; in wolfssl_shutdown()
1697 connssl->io_need = CURL_SSL_IO_NEED_SEND; in wolfssl_shutdown()
1716 struct ssl_connect_data *connssl = cf->ctx; in wolfssl_close() local
1718 (struct wolfssl_ctx *)connssl->backend; in wolfssl_close()
1739 struct ssl_connect_data *connssl = cf->ctx; in wolfssl_recv() local
1741 (struct wolfssl_ctx *)connssl->backend; in wolfssl_recv()
1763 if(!backend->io_result && connssl->peer_closed) { in wolfssl_recv()
1778 else if(!backend->io_result && connssl->peer_closed) { in wolfssl_recv()
1855 struct ssl_connect_data *connssl = cf->ctx; in wolfssl_connect_common() local
1859 if(ssl_connection_complete == connssl->state) { in wolfssl_connect_common()
1864 if(ssl_connect_1 == connssl->connecting_state) { in wolfssl_connect_common()
1879 while(ssl_connect_2 == connssl->connecting_state) { in wolfssl_connect_common()
1891 if(connssl->io_need) { in wolfssl_connect_common()
1892 curl_socket_t writefd = (connssl->io_need & CURL_SSL_IO_NEED_SEND) ? in wolfssl_connect_common()
1894 curl_socket_t readfd = (connssl->io_need & CURL_SSL_IO_NEED_RECV) ? in wolfssl_connect_common()
1925 if(result || (nonblocking && (ssl_connect_2 == connssl->connecting_state))) in wolfssl_connect_common()
1929 if(ssl_connect_3 == connssl->connecting_state) { in wolfssl_connect_common()
1932 connssl->connecting_state = ssl_connect_done; in wolfssl_connect_common()
1935 if(ssl_connect_done == connssl->connecting_state) { in wolfssl_connect_common()
1936 connssl->state = ssl_connection_complete; in wolfssl_connect_common()
1943 connssl->connecting_state = ssl_connect_1; in wolfssl_connect_common()
2002 static void *wolfssl_get_internals(struct ssl_connect_data *connssl, in wolfssl_get_internals() argument
2006 (struct wolfssl_ctx *)connssl->backend; in wolfssl_get_internals()