Lines Matching refs:peer
200 struct ssl_peer *peer, in wssl_init_ssl() argument
218 if(peer->sni) { in wssl_init_ssl()
220 peer->sni, (unsigned short)strlen(peer->sni)); in wssl_init_ssl()
224 (void)wssl_setup_session(cf, data, &ctx->wssl, peer); in wssl_init_ssl()
234 struct ssl_peer *peer, in Curl_vquic_tls_init() argument
243 return Curl_ossl_ctx_init(&ctx->ossl, cf, data, peer, TRNSPRT_QUIC, in Curl_vquic_tls_init()
248 return Curl_gtls_ctx_init(&ctx->gtls, cf, data, peer, in Curl_vquic_tls_init()
256 return wssl_init_ssl(ctx, cf, data, peer, alpn, alpn_len, ssl_user_data); in Curl_vquic_tls_init()
315 struct ssl_peer *peer) in Curl_vquic_tls_verify_peer() argument
326 result = Curl_oss_check_peer_cert(cf, data, &ctx->ossl, peer); in Curl_vquic_tls_verify_peer()
330 conn_config, &data->set.ssl, peer, in Curl_vquic_tls_verify_peer()
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()