Home
last modified time | relevance | path

Searched refs:ssl_cafile (Results 1 – 7 of 7) sorted by relevance

/curl/lib/vquic/
H A Dvquic-tls.c139 const char * const ssl_cafile = conn_config->CAfile; in wssl_init_ctx() local
143 if(ssl_cafile || ssl_capath) { in wssl_init_ctx()
147 wolfSSL_CTX_load_verify_locations_ex(ctx->wssl.ctx, ssl_cafile, in wssl_init_ctx()
154 ssl_cafile ? ssl_cafile : "none", in wssl_init_ctx()
159 infof(data, " CAfile: %s", ssl_cafile ? ssl_cafile : "none"); in wssl_init_ctx()
/curl/lib/vtls/
H A Dwolfssl.c515 const char * const ssl_cafile = in populate_x509_store() local
560 ssl_cafile ? ssl_cafile : "none", !!ca_info_blob); in populate_x509_store()
564 if((ssl_cafile || ssl_capath) && (!wssl->x509_store_setup)) { in populate_x509_store()
567 ssl_cafile, in populate_x509_store()
575 ssl_cafile ? ssl_cafile : "none", in populate_x509_store()
590 infof(data, " CAfile: %s", ssl_cafile ? ssl_cafile : "none"); in populate_x509_store()
H A Drustls.c540 const char * const ssl_cafile = in cr_init_backend() local
669 else if(ca_info_blob || ssl_cafile) { in cr_init_backend()
685 else if(ssl_cafile) { in cr_init_backend()
688 roots_builder, ssl_cafile, verifypeer); in cr_init_backend()
H A Dsectransp.c1039 const char * const ssl_cafile = local
1244 ssl_cafile || ssl_cablob;
1272 if((ssl_cafile || ssl_cablob) && verifypeer) {
1274 bool is_cert_file = (!is_cert_data) && is_file(ssl_cafile);
1278 ssl_cafile ? ssl_cafile : "(blob memory)");
1354 ssl_cafile ? ssl_cafile : "(blob memory)",
H A Dbearssl.c541 const char * const ssl_cafile = in bearssl_connect_step1() local
568 if(ssl_cafile) { in bearssl_connect_step1()
571 source.data = ssl_cafile; in bearssl_connect_step1()
578 " CAfile: %s", ssl_cafile); in bearssl_connect_step1()
H A Dopenssl.c3153 const char * const ssl_cafile = in populate_x509_store() local
3163 ssl_cafile ? ssl_cafile : "none", !!ca_info_blob); in populate_x509_store()
3208 if(ssl_cafile || ssl_capath) { in populate_x509_store()
3211 if(ssl_cafile && !X509_STORE_load_file(store, ssl_cafile)) { in populate_x509_store()
3214 failf(data, "error setting certificate file: %s", ssl_cafile); in populate_x509_store()
3232 if(!X509_STORE_load_locations(store, ssl_cafile, ssl_capath)) { in populate_x509_store()
3237 ssl_cafile ? ssl_cafile : "none", in populate_x509_store()
3247 infof(data, " CAfile: %s", ssl_cafile ? ssl_cafile : "none"); in populate_x509_store()
3252 if(!ssl_cafile && !ssl_capath && in populate_x509_store()
H A Dmbedtls.c567 const char * const ssl_cafile = local
635 if(ssl_cafile && verifypeer) {
637 ret = mbedtls_x509_crt_parse_file(&backend->cacert, ssl_cafile);
642 ssl_cafile, -ret, errorbuf);

Completed in 50 milliseconds