Lines Matching refs:Curl_ssl
398 static int multissl_setup(const struct Curl_ssl *backend);
405 return Curl_ssl->info.id; in Curl_ssl_backend()
429 return Curl_ssl->init(); in Curl_ssl_init()
468 ctx->backend = calloc(1, Curl_ssl->sizeof_ssl_backend_data); in cf_ctx_new()
497 result = Curl_ssl->connect_blocking(cf, data); in ssl_connect()
514 return Curl_ssl->connect_nonblocking(cf, data, done); in ssl_connect_nonblocking()
784 if(Curl_ssl->get_channel_binding) in Curl_ssl_get_channel_binding()
785 return Curl_ssl->get_channel_binding(data, sockindex, binding); in Curl_ssl_get_channel_binding()
802 Curl_ssl->close_all(data); in Curl_ssl_close_all()
831 return Curl_ssl->set_engine(data, engine); in Curl_ssl_set_engine()
838 return Curl_ssl->set_engine_default(data); in Curl_ssl_set_engine_default()
844 return Curl_ssl->engines_list(data); in Curl_ssl_engines_list()
877 (void)Curl_ssl->version(buffer, size); in Curl_ssl_version()
959 if(Curl_ssl->random) in Curl_ssl_random()
960 return Curl_ssl->random(data, entropy, length); in Curl_ssl_random()
1049 if(!Curl_ssl->sha256sum) { in Curl_pin_peer_pubkey()
1058 encode = Curl_ssl->sha256sum(pubkey, pubkeylen, in Curl_pin_peer_pubkey()
1188 return Curl_ssl->cert_status_request(); in Curl_ssl_cert_status_request()
1197 return Curl_ssl->false_start(); in Curl_ssl_false_start()
1285 return Curl_ssl->init(); in multissl_init()
1293 return Curl_ssl->connect_blocking(cf, data); in multissl_connect()
1302 return Curl_ssl->connect_nonblocking(cf, data, done); in multissl_connect_nonblocking()
1311 Curl_ssl->adjust_pollset(cf, data, ps); in multissl_adjust_pollset()
1319 return Curl_ssl->get_internals(connssl, info); in multissl_get_internals()
1326 Curl_ssl->close(cf, data); in multissl_close()
1335 return Curl_ssl->recv_plain(cf, data, buf, len, code); in multissl_recv_plain()
1345 return Curl_ssl->send_plain(cf, data, mem, len, code); in multissl_send_plain()
1348 static const struct Curl_ssl Curl_ssl_multi = {
1379 const struct Curl_ssl *Curl_ssl = variable
1402 static const struct Curl_ssl *available_backends[] = {
1435 Curl_ssl->cleanup(); in Curl_ssl_cleanup()
1437 Curl_ssl = &Curl_ssl_multi; in Curl_ssl_cleanup()
1445 static const struct Curl_ssl *selected; in multissl_version()
1448 const struct Curl_ssl *current; in multissl_version()
1450 current = Curl_ssl == &Curl_ssl_multi ? available_backends[0] : Curl_ssl; in multissl_version()
1483 static int multissl_setup(const struct Curl_ssl *backend) in multissl_setup()
1488 if(Curl_ssl != &Curl_ssl_multi) in multissl_setup()
1492 Curl_ssl = backend; in multissl_setup()
1508 Curl_ssl = available_backends[i]; in multissl_setup()
1516 Curl_ssl = available_backends[0]; in multissl_setup()
1531 if(Curl_ssl != &Curl_ssl_multi) in Curl_init_sslset_nolock()
1532 return id == Curl_ssl->info.id || in Curl_init_sslset_nolock()
1533 (name && strcasecompare(name, Curl_ssl->info.name)) ? in Curl_init_sslset_nolock()
1580 Curl_ssl->close(cf, data); in cf_close()
1764 if(Curl_ssl->data_pending(cf, data)) in ssl_cf_data_pending()
1784 nwritten = Curl_ssl->send_plain(cf, data, buf, len, err); in ssl_cf_send()
1799 nread = Curl_ssl->recv_plain(cf, data, buf, len, err); in ssl_cf_recv()
1824 result = Curl_ssl->shut_down(cf, data, TRUE, done); in ssl_cf_shutdown()
1839 Curl_ssl->adjust_pollset(cf, data, ps); in ssl_cf_adjust_pollset()
1853 if(Curl_ssl->attach_data) { in ssl_cf_cntrl()
1855 Curl_ssl->attach_data(cf, data); in ssl_cf_cntrl()
1860 if(Curl_ssl->detach_data) { in ssl_cf_cntrl()
1862 Curl_ssl->detach_data(cf, data); in ssl_cf_cntrl()
1907 result = Curl_ssl->check_cxn(cf, data); in cf_ssl_is_alive()
2066 return (Curl_ssl->supports & ssl_option); in Curl_ssl_supports()
2095 result = Curl_ssl->get_internals(cf->ctx, info); in Curl_ssl_get_internals()
2128 result = Curl_ssl->shut_down(cf, data, send_shutdown, done); in vtls_shutdown_blocking()