Home
last modified time | relevance | path

Searched refs:ssl_config (Results 1 – 15 of 15) sorted by relevance

/curl/lib/vtls/
H A Dgtls.c515 if(ssl_config->native_ca_store) { in gtls_populate_creds()
687 !ssl_config->primary.CRLfile && in Curl_gtls_client_trust_setup()
688 !ssl_config->native_ca_store && in Curl_gtls_client_trust_setup()
852 ssl_config->certverifyresult = 0; in gtls_client_init()
956 if(ssl_config->cert_type && strcasecompare(ssl_config->cert_type, "P12")) { in gtls_client_init()
959 ssl_config->key_passwd ? ssl_config->key_passwd : ""); in gtls_client_init()
968 else if(ssl_config->key_passwd) { in gtls_client_init()
977 ssl_config->key ? ssl_config->key : config->clientcert, in gtls_client_init()
979 ssl_config->key_passwd, in gtls_client_init()
992 ssl_config->key ? ssl_config->key : config->clientcert, in gtls_client_init()
[all …]
H A Dmbedtls.c572 char * const ssl_cert = ssl_config->primary.clientcert;
704 ssl_config->key, -ret, errorbuf);
712 if(ssl_config->key || ssl_config->key_blob) {
713 if(ssl_config->key) {
717 ssl_config->key_passwd,
722 ssl_config->key_passwd);
728 ssl_config->key, -ret, errorbuf);
740 const char *passwd = ssl_config->key_passwd;
877 if(ssl_config->primary.cache_session) {
911 if(ssl_config->key || ssl_config->key_blob) {
[all …]
H A Dwolfssl.c524 if(ssl_config->native_ca_store) { in populate_x509_store()
735 !ssl_config->primary.CRLfile && in Curl_wssl_setup_x509_store()
736 !ssl_config->native_ca_store; in Curl_wssl_setup_x509_store()
1006 if(ssl_config->primary.cert_blob || ssl_config->primary.clientcert) { in wolfssl_connect_step1()
1007 const char *cert_file = ssl_config->primary.clientcert; in wolfssl_connect_step1()
1008 const char *key_file = ssl_config->key; in wolfssl_connect_step1()
1010 const struct curl_blob *key_blob = ssl_config->key_blob; in wolfssl_connect_step1()
1042 file_type = wolfssl_do_file_type(ssl_config->key_type); in wolfssl_connect_step1()
1054 if(ssl_config->primary.cert_blob) { in wolfssl_connect_step1()
1056 const struct curl_blob *key_blob = ssl_config->key_blob; in wolfssl_connect_step1()
[all …]
H A Dsectransp.c1043 char * const ssl_cert = ssl_config->primary.clientcert;
1122 if(ssl_config->key) {
1141 if(!ssl_config->cert_type)
1324 !ssl_config->enable_beast);
1331 if(ssl_config->primary.cache_session) {
2160 if(ssl_config->certinfo)
2175 CURLcode result = ssl_config->certinfo ?
2202 if(ssl_config->certinfo)
2224 if(ssl_config->certinfo)
2239 if(ssl_config->certinfo)
[all …]
H A Dgtls.h94 struct ssl_config_data *ssl_config,
H A Dvtls.c238 &candidate->ssl_config); in Curl_ssl_conn_config_match()
372 free_primary_ssl_config(&conn->ssl_config); in Curl_ssl_conn_config_cleanup()
389 dest = &data->conn->ssl_config; in Curl_ssl_conn_config_update()
556 if(!ssl_config) in Curl_ssl_getsessionid()
559 DEBUGASSERT(ssl_config->primary.cache_session); in Curl_ssl_getsessionid()
622 free_primary_ssl_config(&session->ssl_config); in Curl_ssl_kill_session()
690 DEBUGASSERT(ssl_config->primary.cache_session); in Curl_ssl_set_sessionid()
691 (void)ssl_config; in Curl_ssl_set_sessionid()
739 free_primary_ssl_config(&store->ssl_config); in Curl_ssl_set_sessionid()
2199 return &cf->conn->ssl_config; in Curl_ssl_cf_get_primary_config()
[all …]
H A Dopenssl.c3174 if(ssl_config->native_ca_store) { in populate_x509_store()
3290 if(!ssl_config->no_partialchain && !ssl_crlfile) { in populate_x509_store()
3446 !ssl_config->primary.CRLfile && in Curl_ssl_setup_x509_store()
3447 !ssl_config->native_ca_store; in Curl_ssl_setup_x509_store()
3507 ssl_config->certverifyresult = !X509_V_OK; in Curl_ossl_ctx_init()
3635 if(!ssl_config->enable_beast) in Curl_ossl_ctx_init()
3690 ssl_config->key, ssl_config->key_blob, in Curl_ossl_ctx_init()
3691 ssl_config->key_type, ssl_config->key_passwd)) in Curl_ossl_ctx_init()
3975 if(ssl_config->primary.cache_session) { in Curl_ossl_ctx_init()
4222 ssl_config->certverifyresult = lerr;
[all …]
H A Dschannel.c460 struct ssl_config_data *ssl_config = Curl_ssl_cf_get_config(cf, data); in schannel_acquire_credential_handle() local
486 if(ssl_config->no_revoke) { in schannel_acquire_credential_handle()
493 else if(ssl_config->revoke_best_effort) { in schannel_acquire_credential_handle()
521 if(!ssl_config->auto_client_cert) { in schannel_acquire_credential_handle()
885 struct ssl_config_data *ssl_config = Curl_ssl_cf_get_config(cf, data); in schannel_connect_step1() local
956 if(ssl_config->primary.cache_session) { in schannel_connect_step1()
1055 if(!ssl_config->auto_client_cert) { in schannel_connect_step1()
1532 struct ssl_config_data *ssl_config = Curl_ssl_cf_get_config(cf, data); in schannel_connect_step3() local
1601 if(ssl_config->primary.cache_session) { in schannel_connect_step3()
H A Dbearssl.c539 struct ssl_config_data *ssl_config = Curl_ssl_cf_get_config(cf, data); in bearssl_connect_step1() local
611 if(ssl_config->primary.cache_session) { in bearssl_connect_step1()
819 struct ssl_config_data *ssl_config = Curl_ssl_cf_get_config(cf, data); in bearssl_connect_step3() local
834 if(ssl_config->primary.cache_session) { in bearssl_connect_step3()
H A Dschannel_verify.c679 struct ssl_config_data *ssl_config = Curl_ssl_cf_get_config(cf, data); in Curl_verify_certificate() local
798 (ssl_config->no_revoke ? 0 : in Curl_verify_certificate()
/curl/lib/vquic/
H A Dvquic-tls.c204 struct ssl_config_data *ssl_config = Curl_ssl_cf_get_config(cf, data); in wssl_init_ssl() local
223 if(ssl_config->primary.cache_session) { in wssl_init_ssl()
H A Dcurl_ngtcp2.c2196 struct ssl_config_data *ssl_config = Curl_ssl_cf_get_config(cf, data); in tls_ctx_setup() local
2211 if(ssl_config->primary.cache_session) { in tls_ctx_setup()
2227 if(ssl_config->primary.cache_session) { in tls_ctx_setup()
2238 if(ssl_config->primary.cache_session) { in tls_ctx_setup()
H A Dcurl_osslq.c492 struct ssl_config_data *ssl_config = Curl_ssl_cf_get_config(cf, data); in cf_osslq_ssl_err() local
505 ssl_config->certverifyresult = lerr; in cf_osslq_ssl_err()
/curl/lib/
H A Dldap.c383 char *ldap_ca = conn->ssl_config.CAfile; in ldap_do()
391 if(conn->ssl_config.verifypeer) { in ldap_do()
433 if(conn->ssl_config.verifypeer) { in ldap_do()
H A Durldata.h359 struct ssl_primary_config ssl_config; /* setup for this session */ member
857 struct ssl_primary_config ssl_config; member

Completed in 93 milliseconds