Home
last modified time | relevance | path

Searched refs:sni (Results 1 – 10 of 10) sorted by relevance

/curl/lib/vquic/
H A Dvquic-tls.c218 if(peer->sni) { in wssl_init_ssl()
220 peer->sni, (unsigned short)strlen(peer->sni)); in wssl_init_ssl()
338 if(peer->sni) { in Curl_vquic_tls_verify_peer()
340 if(wolfSSL_X509_check_host(cert, peer->sni, strlen(peer->sni), 0, NULL) in Curl_vquic_tls_verify_peer()
/curl/lib/vtls/
H A Dgtls.c809 bool sni = TRUE; /* default is SNI enabled */ in gtls_client_init() local
823 sni = FALSE; /* SSLv3 has no SNI */ in gtls_client_init()
883 if(sni && peer->sni) { in gtls_client_init()
885 peer->sni, strlen(peer->sni)) < 0) { in gtls_client_init()
1549 peer->sni ? peer->sni : in Curl_gtls_verifyserver()
H A Dvtls.c1570 free(peer->sni); in Curl_ssl_peer_cleanup()
1572 peer->hostname = peer->sni = peer->dispname = NULL; in Curl_ssl_peer_cleanup()
1616 DEBUGASSERT(!peer->sni); in Curl_ssl_peer_init()
1661 peer->sni = calloc(1, len + 1); in Curl_ssl_peer_init()
1662 if(!peer->sni) in Curl_ssl_peer_init()
1664 Curl_strntolower(peer->sni, peer->hostname, len); in Curl_ssl_peer_init()
1665 peer->sni[len] = 0; in Curl_ssl_peer_init()
H A Dwolfssl.c1102 if(connssl->peer.sni) { in wolfssl_connect_step1()
1103 size_t sni_len = strlen(connssl->peer.sni); in wolfssl_connect_step1()
1106 connssl->peer.sni, in wolfssl_connect_step1()
1342 char *snihost = connssl->peer.sni ? in wolfssl_connect_step2()
1343 connssl->peer.sni : connssl->peer.hostname; in wolfssl_connect_step2()
H A Dbearssl.c650 if(!connssl->peer.sni) { in bearssl_connect_step1()
654 hostname = connssl->peer.sni; in bearssl_connect_step1()
H A Dmbedtls.c916 if(mbedtls_ssl_set_hostname(&backend->ssl, connssl->peer.sni ?
917 connssl->peer.sni : connssl->peer.hostname)) {
H A Dsectransp.c1287 char *server = connssl->peer.sni ?
1288 connssl->peer.sni : connssl->peer.hostname;
H A Dschannel.c1167 snihost = connssl->peer.sni ? connssl->peer.sni : connssl->peer.hostname; in schannel_connect_step1()
H A Dopenssl.c3836 if(peer->sni) { in Curl_ossl_ctx_init()
3837 if(!SSL_set_tlsext_host_name(octx->ssl, peer->sni)) { in Curl_ossl_ctx_init()
/curl/lib/
H A Durldata.h284 char *sni; /* SNI version of hostname or NULL if not usable */ member

Completed in 134 milliseconds