Lines Matching refs:ssl_peer_key

78   char *ssl_peer_key;      /* id for peer + relevant TLS configuration */  member
190 Curl_safefree(peer->ssl_peer_key); in cf_ssl_scache_clear_peer()
208 const char *ssl_peer_key, in cf_ssl_scache_peer_init() argument
215 DEBUGASSERT(!peer->ssl_peer_key); in cf_ssl_scache_peer_init()
216 peer->ssl_peer_key = strdup(ssl_peer_key); in cf_ssl_scache_peer_init()
217 if(!peer->ssl_peer_key) in cf_ssl_scache_peer_init()
563 const char *ssl_peer_key, in cf_ssl_find_peer() argument
577 if(scache->peers[i].ssl_peer_key && in cf_ssl_find_peer()
578 strcasecompare(ssl_peer_key, scache->peers[i].ssl_peer_key) && in cf_ssl_find_peer()
587 if(!scache->peers[i].ssl_peer_key && in cf_ssl_find_peer()
593 peer_key_len = strlen(ssl_peer_key); in cf_ssl_find_peer()
597 (const unsigned char *)ssl_peer_key, in cf_ssl_find_peer()
604 scache->peers[i].ssl_peer_key = strdup(ssl_peer_key); in cf_ssl_find_peer()
605 if(!scache->peers[i].ssl_peer_key) { in cf_ssl_find_peer()
623 const char *ssl_peer_key, in cf_ssl_add_peer() argument
632 result = cf_ssl_find_peer(cf, data, scache, ssl_peer_key, &peer); in cf_ssl_add_peer()
644 if(!scache->peers[i].ssl_peer_key && !scache->peers[i].hmac_set) { in cf_ssl_add_peer()
664 result = cf_ssl_scache_peer_init(peer, ssl_peer_key, in cf_ssl_add_peer()
689 const char *ssl_peer_key, in cf_scache_peer_add_session() argument
712 result = cf_ssl_add_peer(cf, data, scache, ssl_peer_key, &peer); in cf_scache_peer_add_session()
737 ssl_peer_key, result); in cf_scache_peer_add_session()
742 ssl_peer_key, s->ietf_tls_id, s->lifetime_secs, s->alpn, in cf_scache_peer_add_session()
749 const char *ssl_peer_key, in Curl_ssl_scache_put() argument
756 result = cf_scache_peer_add_session(cf, data, scache, ssl_peer_key, s); in Curl_ssl_scache_put()
763 const char *ssl_peer_key, in Curl_ssl_scache_return() argument
769 (void)Curl_ssl_scache_put(cf, data, ssl_peer_key, s); in Curl_ssl_scache_return()
776 const char *ssl_peer_key, in Curl_ssl_scache_take() argument
789 result = cf_ssl_find_peer(cf, data, scache, ssl_peer_key, &peer); in Curl_ssl_scache_take()
802 *ps ? "Found" : "No", ssl_peer_key); in Curl_ssl_scache_take()
808 const char *ssl_peer_key, in Curl_ssl_scache_add_obj() argument
819 result = cf_ssl_add_peer(cf, data, scache, ssl_peer_key, &peer); in Curl_ssl_scache_add_obj()
836 const char *ssl_peer_key, in Curl_ssl_scache_get_obj() argument
847 result = cf_ssl_find_peer(cf, data, scache, ssl_peer_key, &peer); in Curl_ssl_scache_get_obj()
855 *sobj ? "Found" : "No", ssl_peer_key); in Curl_ssl_scache_get_obj()
861 const char *ssl_peer_key) in Curl_ssl_scache_remove_all() argument
872 result = cf_ssl_find_peer(cf, data, scache, ssl_peer_key, &peer); in Curl_ssl_scache_remove_all()