Lines Matching refs:connssl

488   struct ssl_connect_data *connssl = cf->ctx;  in ssl_connect()  local
495 connssl->state = ssl_connection_negotiating; in ssl_connect()
500 DEBUGASSERT(connssl->state == ssl_connection_complete); in ssl_connect()
808 struct ssl_connect_data *connssl = cf->ctx; in Curl_ssl_adjust_pollset() local
810 if(connssl->io_need) { in Curl_ssl_adjust_pollset()
813 if(connssl->io_need & CURL_SSL_IO_NEED_SEND) { in Curl_ssl_adjust_pollset()
1314 static void *multissl_get_internals(struct ssl_connect_data *connssl, in multissl_get_internals() argument
1319 return Curl_ssl->get_internals(connssl, info); in multissl_get_internals()
1578 struct ssl_connect_data *connssl = cf->ctx; in cf_close() local
1579 if(connssl) { in cf_close()
1581 connssl->state = ssl_connection_none; in cf_close()
1582 Curl_ssl_peer_cleanup(&connssl->peer); in cf_close()
1703 struct ssl_connect_data *connssl = cf->ctx; in ssl_cf_connect() local
1727 DEBUGASSERT(connssl); in ssl_cf_connect()
1730 if(!connssl->peer.hostname) { in ssl_cf_connect()
1731 result = Curl_ssl_peer_init(&connssl->peer, cf, TRNSPRT_TCP); in ssl_cf_connect()
1746 connssl->handshake_done = Curl_now(); in ssl_cf_connect()
1748 DEBUGASSERT(connssl->state == ssl_connection_complete || in ssl_cf_connect()
1749 connssl->state == ssl_connection_deferred); in ssl_cf_connect()
1876 struct ssl_connect_data *connssl = cf->ctx; in ssl_cf_query() local
1882 *when = connssl->handshake_done; in ssl_cf_query()
2106 struct ssl_connect_data *connssl = cf->ctx; in vtls_shutdown_blocking() local
2132 if(connssl->io_need) { in vtls_shutdown_blocking()
2266 struct ssl_connect_data *connssl, in Curl_alpn_set_negotiated() argument
2280 if(connssl->alpn_negotiated) { in Curl_alpn_set_negotiated()
2287 connssl->alpn_negotiated); in Curl_alpn_set_negotiated()
2291 else if((strlen(connssl->alpn_negotiated) != proto_len) || in Curl_alpn_set_negotiated()
2292 memcmp(connssl->alpn_negotiated, proto, proto_len)) { in Curl_alpn_set_negotiated()
2295 connssl->alpn_negotiated, (int)proto_len, proto); in Curl_alpn_set_negotiated()
2301 connssl->alpn_negotiated); in Curl_alpn_set_negotiated()
2312 connssl->alpn_negotiated = malloc(proto_len + 1); in Curl_alpn_set_negotiated()
2313 if(!connssl->alpn_negotiated) in Curl_alpn_set_negotiated()
2315 memcpy(connssl->alpn_negotiated, proto, proto_len); in Curl_alpn_set_negotiated()
2316 connssl->alpn_negotiated[proto_len] = 0; in Curl_alpn_set_negotiated()
2345 if(connssl->state == ssl_connection_deferred) in Curl_alpn_set_negotiated()
2352 if(connssl->state == ssl_connection_deferred) in Curl_alpn_set_negotiated()