Lines Matching defs:peer
405 struct ssl_peer *peer,
552 if(sni && peer->sni) {
554 peer->sni, strlen(peer->sni)) < 0) {
704 &connssl->peer,
816 struct ssl_peer *peer,
848 /* This function will return the peer's raw certificate (chain) as sent by
849 the peer. These certificates are in raw format (DER encoded for
851 first certificate in the list is the peer's certificate, following the
862 /* no peer cert, but auth is ok if we have SRP user and cipher and no
863 peer verify */
895 /* This function will try to verify the peer's certificate and return its
1067 rc = gnutls_x509_crt_check_hostname(x509_cert, peer->hostname);
1080 if(Curl_inet_pton(AF_INET, peer->hostname, addrbuf) > 0)
1083 else if(Curl_inet_pton(AF_INET6, peer->hostname, addrbuf) > 0)
1113 "target host name '%s'", certname, peer->dispname);
1119 certname, peer->dispname);
1252 &connssl->peer, pinned_key);