Home
last modified time | relevance | path

Searched refs:connssl (Results 1 – 11 of 11) sorted by relevance

/third_party/curl/lib/vtls/
Dwolfssl.c285 struct ssl_connect_data *connssl = cf->ctx; in wolfssl_bio_cf_out_write() local
287 (struct wolfssl_ssl_backend_data *)connssl->backend; in wolfssl_bio_cf_out_write()
306 struct ssl_connect_data *connssl = cf->ctx; in wolfssl_bio_cf_in_read() local
308 (struct wolfssl_ssl_backend_data *)connssl->backend; in wolfssl_bio_cf_in_read()
359 struct ssl_connect_data *connssl = cf->ctx; in wolfssl_connect_step1() local
361 (struct wolfssl_ssl_backend_data *)connssl->backend; in wolfssl_connect_step1()
385 if(connssl->state == ssl_connection_complete) in wolfssl_connect_step1()
625 if(sni && connssl->peer.sni) { in wolfssl_connect_step1()
626 size_t sni_len = strlen(connssl->peer.sni); in wolfssl_connect_step1()
629 connssl->peer.sni, in wolfssl_connect_step1()
[all …]
Dmbedtls.c274 struct ssl_connect_data *connssl = cf->ctx; in set_ssl_version_min_max() local
276 (struct mbed_ssl_backend_data *)connssl->backend; in set_ssl_version_min_max()
327 struct ssl_connect_data *connssl = cf->ctx; in mbed_connect_step1() local
329 (struct mbed_ssl_backend_data *)connssl->backend; in mbed_connect_step1()
341 const char *hostname = connssl->peer.hostname; in mbed_connect_step1()
559 infof(data, "mbedTLS: Connecting to %s:%d", hostname, connssl->port); in mbed_connect_step1()
657 if(mbedtls_ssl_set_hostname(&backend->ssl, connssl->peer.sni? in mbed_connect_step1()
658 connssl->peer.sni : connssl->peer.hostname)) { in mbed_connect_step1()
667 if(connssl->alpn) { in mbed_connect_step1()
671 for(i = 0; i < connssl->alpn->count; ++i) { in mbed_connect_step1()
[all …]
Drustls.c129 struct ssl_connect_data *const connssl = cf->ctx; in tls_recv_more() local
131 (struct rustls_ssl_backend_data *)connssl->backend; in tls_recv_more()
185 struct ssl_connect_data *const connssl = cf->ctx; in cr_recv() local
187 (struct rustls_ssl_backend_data *)connssl->backend; in cr_recv()
278 struct ssl_connect_data *const connssl = cf->ctx; in cr_send() local
280 (struct rustls_ssl_backend_data *)connssl->backend; in cr_send()
372 struct ssl_connect_data *connssl = cf->ctx; in cr_init_backend() local
382 const char *hostname = connssl->peer.hostname; in cr_init_backend()
391 if(connssl->alpn) { in cr_init_backend()
396 for(i = 0; i < connssl->alpn->count; ++i) { in cr_init_backend()
[all …]
Dbearssl.c582 struct ssl_connect_data *connssl = cf->ctx; in bearssl_connect_step1() local
584 (struct bearssl_ssl_backend_data *)connssl->backend; in bearssl_connect_step1()
591 const char *hostname = connssl->peer.hostname; in bearssl_connect_step1()
697 if(connssl->alpn) { in bearssl_connect_step1()
701 for(i = 0; i < connssl->alpn->count; ++i) { in bearssl_connect_step1()
702 backend->protocols[i] = connssl->alpn->entries[i]; in bearssl_connect_step1()
705 connssl->alpn->count); in bearssl_connect_step1()
706 Curl_alpn_to_proto_str(&proto, connssl->alpn); in bearssl_connect_step1()
710 if(connssl->peer.is_ip_address) { in bearssl_connect_step1()
719 if(!connssl->peer.sni) { in bearssl_connect_step1()
[all …]
Dgtls.c86 struct ssl_connect_data *connssl = cf->ctx; in gtls_push() local
95 (struct gtls_ssl_backend_data *)connssl->backend; in gtls_push()
106 struct ssl_connect_data *connssl = cf->ctx; in gtls_pull() local
115 (struct gtls_ssl_backend_data *)connssl->backend; in gtls_pull()
218 struct ssl_connect_data *connssl = cf->ctx; in handshake() local
220 (struct gtls_ssl_backend_data *)connssl->backend; in handshake()
241 if(connssl->connecting_state == ssl_connect_2_reading in handshake()
242 || connssl->connecting_state == ssl_connect_2_writing) { in handshake()
245 connssl->connecting_state?sockfd:CURL_SOCKET_BAD; in handshake()
247 connssl->connecting_state?sockfd:CURL_SOCKET_BAD; in handshake()
[all …]
Dschannel.c452 struct ssl_connect_data *connssl = cf->ctx; in schannel_acquire_credential_handle() local
468 (struct schannel_ssl_backend_data *)(connssl->backend); in schannel_acquire_credential_handle()
1055 struct ssl_connect_data *connssl = cf->ctx; in schannel_connect_step1() local
1057 (struct schannel_ssl_backend_data *)connssl->backend; in schannel_connect_step1()
1074 connssl->peer.hostname, connssl->port)); in schannel_connect_step1()
1087 backend->use_alpn = connssl->alpn && in schannel_connect_step1()
1155 snihost = connssl->peer.sni? connssl->peer.sni : connssl->peer.hostname; in schannel_connect_step1()
1162 if(connssl->peer.is_ip_address) { in schannel_connect_step1()
1192 result = Curl_alpn_to_proto_buf(&proto, connssl->alpn); in schannel_connect_step1()
1207 Curl_alpn_to_proto_str(&proto, connssl->alpn); in schannel_connect_step1()
[all …]
Dsectransp.c840 struct ssl_connect_data *connssl = cf->ctx; in sectransp_bio_cf_in_read() local
842 (struct st_ssl_backend_data *)connssl->backend; in sectransp_bio_cf_in_read()
880 struct ssl_connect_data *connssl = cf->ctx; in sectransp_bio_cf_out_write() local
882 (struct st_ssl_backend_data *)connssl->backend; in sectransp_bio_cf_out_write()
1346 struct ssl_connect_data *connssl = cf->ctx; in set_ssl_version_min_max() local
1348 (struct st_ssl_backend_data *)connssl->backend; in set_ssl_version_min_max()
1642 struct ssl_connect_data *connssl = cf->ctx; local
1644 (struct st_ssl_backend_data *)connssl->backend;
1809 if(connssl->alpn) {
1816 for(i = 0; i < connssl->alpn->count; ++i) {
[all …]
Dopenssl.c728 struct ssl_connect_data *connssl = cf->ctx; in ossl_bio_cf_out_write() local
730 (struct ossl_ssl_backend_data *)connssl->backend; in ossl_bio_cf_out_write()
751 struct ssl_connect_data *connssl = cf->ctx; in ossl_bio_cf_in_read() local
753 (struct ossl_ssl_backend_data *)connssl->backend; in ossl_bio_cf_in_read()
1882 struct ssl_connect_data *connssl = cf->ctx; in ossl_close() local
1884 (struct ossl_ssl_backend_data *)connssl->backend; in ossl_close()
1955 struct ssl_connect_data *connssl = cf->ctx; in ossl_shutdown() local
1964 (struct ossl_ssl_backend_data *)connssl->backend; in ossl_shutdown()
2331 struct ssl_connect_data *connssl = cf->ctx; in verifystatus() local
2345 (struct ossl_ssl_backend_data *)connssl->backend; in verifystatus()
[all …]
Dvtls.c484 struct ssl_connect_data *connssl = cf->ctx; in ssl_connect() local
491 connssl->state = ssl_connection_negotiating; in ssl_connect()
496 DEBUGASSERT(connssl->state == ssl_connection_complete); in ssl_connect()
540 struct ssl_connect_data *connssl = cf->ctx; in Curl_ssl_getsessionid() local
570 if(strcasecompare(connssl->peer.hostname, check->name) && in Curl_ssl_getsessionid()
577 (connssl->port == check->remote_port) && in Curl_ssl_getsessionid()
594 cf->conn->handler->scheme, connssl->peer.hostname, in Curl_ssl_getsessionid()
595 connssl->port)); in Curl_ssl_getsessionid()
649 struct ssl_connect_data *connssl = cf->ctx; in Curl_ssl_addsessionid() local
671 clone_host = strdup(connssl->peer.hostname); in Curl_ssl_addsessionid()
[all …]
Dschannel_verify.c55 #define BACKEND ((struct schannel_ssl_backend_data *)connssl->backend)
467 struct ssl_connect_data *connssl = cf->ctx; in Curl_verify_host() local
473 const char *conn_hostname = connssl->peer.hostname; in Curl_verify_host()
594 struct ssl_connect_data *connssl = cf->ctx; in Curl_verify_certificate() local
Dvtls_int.h124 void *(*get_internals)(struct ssl_connect_data *connssl, CURLINFO info);