Lines Matching refs:connssl
264 struct ssl_connect_data *connssl = cf->ctx; in sectransp_bio_cf_in_read() local
266 (struct st_ssl_backend_data *)connssl->backend; in sectransp_bio_cf_in_read()
304 struct ssl_connect_data *connssl = cf->ctx; in sectransp_bio_cf_out_write() local
306 (struct st_ssl_backend_data *)connssl->backend; in sectransp_bio_cf_out_write()
1033 struct ssl_connect_data *connssl = cf->ctx; local
1035 (struct st_ssl_backend_data *)connssl->backend;
1096 if(connssl->alpn) {
1103 for(i = 0; i < connssl->alpn->count; ++i) {
1104 cstr = CFStringCreateWithCString(NULL, connssl->alpn->entries[i],
1116 Curl_alpn_to_proto_str(&proto, connssl->alpn);
1287 char *server = connssl->peer.sni ?
1288 connssl->peer.sni : connssl->peer.hostname;
1297 if(connssl->peer.type != CURL_SSL_PEER_DNS) {
1336 if(!Curl_ssl_getsessionid(cf, data, &connssl->peer,
1355 verifypeer, conn_config->verifyhost, connssl->peer.hostname,
1356 connssl->peer.port);
1366 result = Curl_ssl_set_sessionid(cf, data, &connssl->peer, NULL,
1389 connssl->connecting_state = ssl_connect_2;
1800 struct ssl_connect_data *connssl = cf->ctx; local
1802 (struct st_ssl_backend_data *)connssl->backend;
1808 DEBUGASSERT(ssl_connect_2 == connssl->connecting_state);
1814 connssl->io_need = CURL_SSL_IO_NEED_NONE;
1820 connssl->io_need = backend->ssl_direction ?
1938 "certificate did not match \"%s\"\n", connssl->peer.dispname);
2030 connssl->peer.hostname, err);
2038 connssl->connecting_state = ssl_connect_3;
2088 if(connssl->alpn) {
2177 struct ssl_connect_data *connssl = cf->ctx; local
2179 (struct st_ssl_backend_data *)connssl->backend;
2271 struct ssl_connect_data *connssl = cf->ctx; local
2282 connssl->connecting_state = ssl_connect_done;
2292 struct ssl_connect_data *connssl = cf->ctx; local
2297 if(ssl_connection_complete == connssl->state) {
2302 if(ssl_connect_1 == connssl->connecting_state) {
2317 while(ssl_connect_2 == connssl->connecting_state) {
2329 if(connssl->io_need) {
2331 curl_socket_t writefd = (connssl->io_need & CURL_SSL_IO_NEED_SEND) ?
2333 curl_socket_t readfd = (connssl->io_need & CURL_SSL_IO_NEED_RECV) ?
2364 if(result || (nonblocking && (ssl_connect_2 == connssl->connecting_state)))
2370 if(ssl_connect_3 == connssl->connecting_state) {
2376 if(ssl_connect_done == connssl->connecting_state) {
2378 connssl->state = ssl_connection_complete;
2385 connssl->connecting_state = ssl_connect_1;
2423 struct ssl_connect_data *connssl = cf->ctx; local
2425 (struct st_ssl_backend_data *)connssl->backend;
2437 connssl->io_need = CURL_SSL_IO_NEED_NONE;
2450 connssl->io_need = CURL_SSL_IO_NEED_SEND;
2478 connssl->io_need = CURL_SSL_IO_NEED_RECV;
2486 connssl->io_need = CURL_SSL_IO_NEED_RECV;
2501 struct ssl_connect_data *connssl = cf->ctx; local
2503 (struct st_ssl_backend_data *)connssl->backend;
2533 const struct ssl_connect_data *connssl = cf->ctx; local
2535 (struct st_ssl_backend_data *)connssl->backend;
2599 struct ssl_connect_data *connssl = cf->ctx; local
2601 (struct st_ssl_backend_data *)connssl->backend;
2668 struct ssl_connect_data *connssl = cf->ctx; local
2670 (struct st_ssl_backend_data *)connssl->backend;
2722 static void *sectransp_get_internals(struct ssl_connect_data *connssl, argument
2726 (struct st_ssl_backend_data *)connssl->backend;