Lines Matching refs:peer

2104                                 struct ssl_peer *peer, X509 *server_cert)  in ossl_verifyhost()  argument
2121 hostlen = strlen(peer->hostname); in ossl_verifyhost()
2122 switch(peer->type) { in ossl_verifyhost()
2124 if(!Curl_inet_pton(AF_INET, peer->hostname, &addr)) in ossl_verifyhost()
2131 if(!Curl_inet_pton(AF_INET6, peer->hostname, &addr)) in ossl_verifyhost()
2142 failf(data, "unexpected ssl peer type: %d", peer->type); in ossl_verifyhost()
2195 peer->hostname, hostlen, in ossl_verifyhost()
2196 peer->dispname)) { in ossl_verifyhost()
2208 peer->dispname); in ossl_verifyhost()
2224 const char *tname = (peer->type == CURL_SSL_PEER_DNS) ? "hostname" : in ossl_verifyhost()
2225 (peer->type == CURL_SSL_PEER_IPV4) ? in ossl_verifyhost()
2227 infof(data, " subjectAltName does not match %s %s", tname, peer->dispname); in ossl_verifyhost()
2229 "target %s '%s'", tname, peer->dispname); in ossl_verifyhost()
2290 peer->hostname, hostlen)) { in ossl_verifyhost()
2292 "target hostname '%s'", cn, peer->dispname); in ossl_verifyhost()
2884 const struct ssl_peer *peer, in Curl_ossl_add_session() argument
2919 result = Curl_ssl_set_sessionid(cf, data, peer, NULL, der_session_buf, in Curl_ossl_add_session()
2940 Curl_ossl_add_session(cf, data, &connssl->peer, ssl_sessionid); in ossl_new_session_cb()
3478 struct ssl_peer *peer, in Curl_ossl_ctx_init() argument
3699 if(!ciphers && (peer->transport != TRNSPRT_QUIC)) in Curl_ossl_ctx_init()
3836 if(peer->sni) { in Curl_ossl_ctx_init()
3837 if(!SSL_set_tlsext_host_name(octx->ssl, peer->sni)) { in Curl_ossl_ctx_init()
3904 if(peer->hostname) in Curl_ossl_ctx_init()
3905 dns = Curl_fetch_addr(data, peer->hostname, peer->port); in Curl_ossl_ctx_init()
3954 peer->hostname ? peer->hostname : "NULL", outername); in Curl_ossl_ctx_init()
3956 peer->hostname, outername, in Curl_ossl_ctx_init()
3977 if(!Curl_ssl_getsessionid(cf, data, peer, (void **)&der_sessionid, in Curl_ossl_ctx_init()
4029 result = Curl_ossl_ctx_init(octx, cf, data, &connssl->peer, TRNSPRT_TCP, in ossl_connect_step1()
4280 connssl->peer.hostname, connssl->peer.port);
4522 struct ssl_peer *peer) argument
4589 result = ossl_verifyhost(data, conn, peer, octx->server_cert);
4714 incache = !(Curl_ssl_getsessionid(cf, data, peer,
4769 result = Curl_oss_check_peer_cert(cf, data, octx, &connssl->peer);