Lines Matching refs:peer

373                                struct ssl_peer *peer,  in gnutls_set_ssl_version_min_max()  argument
387 if(peer->transport == TRNSPRT_QUIC) { in gnutls_set_ssl_version_min_max()
726 struct ssl_peer *peer, in Curl_gtls_update_session_id() argument
758 result = Curl_ssl_set_sessionid(cf, data, peer, alpn, in Curl_gtls_update_session_id()
770 return Curl_gtls_update_session_id(cf, data, session, &connssl->peer, in cf_gtls_update_session_id()
802 struct ssl_peer *peer, in gtls_client_init() argument
883 if(sni && peer->sni) { in gtls_client_init()
885 peer->sni, strlen(peer->sni)) < 0) { in gtls_client_init()
917 result = gnutls_set_ssl_version_min_max(data, peer, in gtls_client_init()
1052 struct ssl_peer *peer, in Curl_gtls_ctx_init() argument
1067 result = gtls_client_init(cf, data, peer, gctx); in Curl_gtls_ctx_init()
1092 if(!Curl_ssl_getsessionid(cf, data, peer, in Curl_gtls_ctx_init()
1199 result = Curl_gtls_ctx_init(&backend->gtls, cf, data, &connssl->peer, in gtls_connect_step1()
1284 struct ssl_peer *peer, in Curl_gtls_verifyserver() argument
1549 peer->sni ? peer->sni : in Curl_gtls_verifyserver()
1550 peer->hostname); in Curl_gtls_verifyserver()
1563 if(Curl_inet_pton(AF_INET, peer->hostname, addrbuf) > 0) in Curl_gtls_verifyserver()
1566 else if(Curl_inet_pton(AF_INET6, peer->hostname, addrbuf) > 0) in Curl_gtls_verifyserver()
1596 "target hostname '%s'", certname, peer->dispname); in Curl_gtls_verifyserver()
1602 certname, peer->dispname); in Curl_gtls_verifyserver()
1739 &connssl->peer, pinned_key); in gtls_verifyserver()