Home
last modified time | relevance | path

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

/third_party/curl/lib/vtls/
Drustls.c294 const char *const ssl_cafile = SSL_CONN_CONFIG(CAfile); in cr_init_backend() local
325 else if(ssl_cafile) { in cr_init_backend()
327 config_builder, ssl_cafile); in cr_init_backend()
Dbearssl.c302 const char * const ssl_cafile = SSL_CONN_CONFIG(CAfile); in bearssl_connect_step1() local
343 if(ssl_cafile) { in bearssl_connect_step1()
344 ret = load_cafile(ssl_cafile, &backend->anchors, &backend->anchors_len); in bearssl_connect_step1()
348 " CAfile: %s", ssl_cafile); in bearssl_connect_step1()
Dmbedtls.c253 const char * const ssl_cafile = SSL_CONN_CONFIG(CAfile); in mbed_connect_step1() local
297 if(ssl_cafile) { in mbed_connect_step1()
298 ret = mbedtls_x509_crt_parse_file(&backend->cacert, ssl_cafile); in mbed_connect_step1()
303 ssl_cafile, -ret, errorbuf); in mbed_connect_step1()
Dopenssl.c2614 const char * const ssl_cafile = in ossl_connect_step1() local
3056 if(ssl_cafile) { in ossl_connect_step1()
3057 if(!SSL_CTX_load_verify_file(backend->ctx, ssl_cafile)) { in ossl_connect_step1()
3060 failf(data, "error setting certificate file: %s", ssl_cafile); in ossl_connect_step1()
3066 infof(data, " CAfile: %s", ssl_cafile); in ossl_connect_step1()
3082 if(ssl_cafile || ssl_capath) { in ossl_connect_step1()
3085 if(!SSL_CTX_load_verify_locations(backend->ctx, ssl_cafile, ssl_capath)) { in ossl_connect_step1()
3090 ssl_cafile ? ssl_cafile : "none", in ossl_connect_step1()
3103 infof(data, " CAfile: %s", ssl_cafile ? ssl_cafile : "none"); in ossl_connect_step1()
3110 !ca_info_blob && !ssl_cafile && !ssl_capath && !imported_native_ca) { in ossl_connect_step1()
Dsectransp.c1666 const char * const ssl_cafile = local
1986 ssl_cafile || ssl_cablob;
2014 if((ssl_cafile || ssl_cablob) && verifypeer) {
2016 bool is_cert_file = (!is_cert_data) && is_file(ssl_cafile);
2020 ssl_cafile ? ssl_cafile : "(blob memory)");
2098 ssl_cafile ? ssl_cafile : "(blob memory)",