Lines Matching refs:creds
467 rc = gnutls_certificate_allocate_credentials(&shared->creds); in Curl_gtls_shared_creds_create()
480 CURLcode Curl_gtls_shared_creds_up_ref(struct gtls_shared_creds *creds) in Curl_gtls_shared_creds_up_ref() argument
482 DEBUGASSERT(creds); in Curl_gtls_shared_creds_up_ref()
483 if(creds->refcount < SIZE_T_MAX) { in Curl_gtls_shared_creds_up_ref()
484 ++creds->refcount; in Curl_gtls_shared_creds_up_ref()
497 gnutls_certificate_free_credentials(shared->creds); in Curl_gtls_shared_creds_free()
506 gnutls_certificate_credentials_t creds) in gtls_populate_creds() argument
516 rc = gnutls_certificate_set_x509_system_trust(creds); in gtls_populate_creds()
529 gnutls_certificate_set_verify_flags(creds, in gtls_populate_creds()
532 rc = gnutls_certificate_set_x509_trust_file(creds, in gtls_populate_creds()
550 rc = gnutls_certificate_set_x509_trust_dir(creds, config->CApath, in gtls_populate_creds()
568 rc = gnutls_certificate_set_x509_crl_file(creds, config->CRLfile, in gtls_populate_creds()
618 if(shared_creds && shared_creds->creds && in gtls_get_cached_creds()
644 DEBUGASSERT(sc->creds); in gtls_set_cached_creds()
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()
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()