Lines Matching refs:shared_creds

129   if(!backend->gtls.shared_creds->trust_setup) {  in gtls_pull()
302 if(!backend->gtls.shared_creds->trust_setup) { in handshake()
612 struct gtls_shared_creds *shared_creds; in gtls_get_cached_creds() local
615 shared_creds = Curl_hash_pick(&data->multi->proto_hash, in gtls_get_cached_creds()
618 if(shared_creds && shared_creds->creds && in gtls_get_cached_creds()
619 !gtls_shared_creds_expired(data, shared_creds) && in gtls_get_cached_creds()
620 !gtls_shared_creds_different(cf, shared_creds)) { in gtls_get_cached_creds()
621 return shared_creds; in gtls_get_cached_creds()
696 Curl_gtls_shared_creds_free(&gtls->shared_creds); in Curl_gtls_client_trust_setup()
697 gtls->shared_creds = cached_creds; in Curl_gtls_client_trust_setup()
699 gtls->shared_creds->creds); in Curl_gtls_client_trust_setup()
707 result = gtls_populate_creds(cf, data, gtls->shared_creds->creds); in Curl_gtls_client_trust_setup()
710 gtls->shared_creds->trust_setup = TRUE; in Curl_gtls_client_trust_setup()
712 gtls_set_cached_creds(cf, data, gtls->shared_creds); in Curl_gtls_client_trust_setup()
826 result = Curl_gtls_shared_creds_create(data, &gtls->shared_creds); in gtls_client_init()
951 if(!gtls->shared_creds->trust_setup) { in gtls_client_init()
958 gtls->shared_creds->creds, config->clientcert, GNUTLS_X509_FMT_DER, in gtls_client_init()
975 gtls->shared_creds->creds, in gtls_client_init()
990 gtls->shared_creds->creds, in gtls_client_init()
1015 gtls->shared_creds->creds); in gtls_client_init()
2143 if(backend->gtls.shared_creds) { in gtls_close()
2144 Curl_gtls_shared_creds_free(&backend->gtls.shared_creds); in gtls_close()