• Home
  • Raw
  • Download

Lines Matching refs:Curl_ssl

380 static int multissl_setup(const struct Curl_ssl *backend);
387 return Curl_ssl->info.id; in Curl_ssl_backend()
411 return Curl_ssl->init(); in Curl_ssl_init()
415 static const struct Curl_ssl Curl_ssl_multi;
423 Curl_ssl->cleanup(); in Curl_ssl_cleanup()
425 Curl_ssl = &Curl_ssl_multi; in Curl_ssl_cleanup()
466 ctx->backend = calloc(1, Curl_ssl->sizeof_ssl_backend_data); in cf_ctx_new()
493 result = Curl_ssl->connect_blocking(cf, data); in ssl_connect()
510 return Curl_ssl->connect_nonblocking(cf, data, done); in ssl_connect_nonblocking()
608 Curl_ssl->session_free(session->sessionid); in Curl_ssl_kill_session()
748 if(Curl_ssl->free_multi_ssl_backend_data && mbackend) in Curl_free_multi_ssl_backend_data()
749 Curl_ssl->free_multi_ssl_backend_data(mbackend); in Curl_free_multi_ssl_backend_data()
765 Curl_ssl->close_all(data); in Curl_ssl_close_all()
789 return Curl_ssl->set_engine(data, engine); in Curl_ssl_set_engine()
796 return Curl_ssl->set_engine_default(data); in Curl_ssl_set_engine_default()
802 return Curl_ssl->engines_list(data); in Curl_ssl_engines_list()
835 (void)Curl_ssl->version(buffer, size); in Curl_ssl_version()
913 return Curl_ssl->random(data, entropy, length); in Curl_ssl_random()
1002 if(!Curl_ssl->sha256sum) { in Curl_pin_peer_pubkey()
1011 encode = Curl_ssl->sha256sum(pubkey, pubkeylen, in Curl_pin_peer_pubkey()
1138 return Curl_ssl->cert_status_request(); in Curl_ssl_cert_status_request()
1147 return Curl_ssl->false_start(); in Curl_ssl_false_start()
1239 return Curl_ssl->init(); in multissl_init()
1247 return Curl_ssl->connect_blocking(cf, data); in multissl_connect()
1256 return Curl_ssl->connect_nonblocking(cf, data, done); in multissl_connect_nonblocking()
1265 Curl_ssl->adjust_pollset(cf, data, ps); in multissl_adjust_pollset()
1273 return Curl_ssl->get_internals(connssl, info); in multissl_get_internals()
1280 Curl_ssl->close(cf, data); in multissl_close()
1289 return Curl_ssl->recv_plain(cf, data, buf, len, code); in multissl_recv_plain()
1299 return Curl_ssl->send_plain(cf, data, mem, len, code); in multissl_send_plain()
1302 static const struct Curl_ssl Curl_ssl_multi = {
1334 const struct Curl_ssl *Curl_ssl = variable
1357 static const struct Curl_ssl *available_backends[] = {
1387 static const struct Curl_ssl *selected; in multissl_version()
1390 const struct Curl_ssl *current; in multissl_version()
1392 current = Curl_ssl == &Curl_ssl_multi ? available_backends[0] : Curl_ssl; in multissl_version()
1425 static int multissl_setup(const struct Curl_ssl *backend) in multissl_setup()
1430 if(Curl_ssl != &Curl_ssl_multi) in multissl_setup()
1434 Curl_ssl = backend; in multissl_setup()
1450 Curl_ssl = available_backends[i]; in multissl_setup()
1458 Curl_ssl = available_backends[0]; in multissl_setup()
1473 if(Curl_ssl != &Curl_ssl_multi) in Curl_init_sslset_nolock()
1474 return id == Curl_ssl->info.id || in Curl_init_sslset_nolock()
1475 (name && strcasecompare(name, Curl_ssl->info.name)) ? in Curl_init_sslset_nolock()
1522 Curl_ssl->close(cf, data); in cf_close()
1690 if(Curl_ssl->data_pending(cf, data)) in ssl_cf_data_pending()
1707 nwritten = Curl_ssl->send_plain(cf, data, buf, len, err); in ssl_cf_send()
1725 nread = Curl_ssl->recv_plain(cf, data, buf + ntotal, len - ntotal, err); in ssl_cf_recv()
1758 Curl_ssl->adjust_pollset(cf, data, ps); in ssl_cf_adjust_pollset()
1773 if(Curl_ssl->attach_data) { in ssl_cf_cntrl()
1775 Curl_ssl->attach_data(cf, data); in ssl_cf_cntrl()
1780 if(Curl_ssl->detach_data) { in ssl_cf_cntrl()
1782 Curl_ssl->detach_data(cf, data); in ssl_cf_cntrl()
1827 result = Curl_ssl->check_cxn(cf, data); in cf_ssl_is_alive()
1984 return (Curl_ssl->supports & option)? TRUE : FALSE; in Curl_ssl_supports()
2013 result = Curl_ssl->get_internals(cf->ctx, info); in Curl_ssl_get_internals()
2030 if(Curl_ssl->shut_down(cf, data)) in Curl_ssl_cfilter_remove()