Home
last modified time | relevance | path

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

/external/curl/lib/vtls/
Dbearssl.c302 const char * const ssl_cafile = SSL_CONN_CONFIG(CAfile); in bearssl_connect_step1() local
348 if(ssl_cafile) { in bearssl_connect_step1()
349 ret = load_cafile(ssl_cafile, &backend->anchors, &backend->anchors_len); in bearssl_connect_step1()
353 " CAfile: %s\n", ssl_cafile); in bearssl_connect_step1()
Dmbedtls.c250 const char * const ssl_cafile = SSL_CONN_CONFIG(CAfile); in mbed_connect_step1() local
304 if(ssl_cafile) { in mbed_connect_step1()
305 ret = mbedtls_x509_crt_parse_file(&backend->cacert, ssl_cafile); in mbed_connect_step1()
312 ssl_cafile, -ret, errorbuf); in mbed_connect_step1()
Dopenssl.c2480 const char * const ssl_cafile = SSL_CONN_CONFIG(CAfile); in ossl_connect_step1() local
2975 if(ssl_cafile) { in ossl_connect_step1()
2976 if(!SSL_CTX_load_verify_file(backend->ctx, ssl_cafile)) { in ossl_connect_step1()
2979 failf(data, "error setting certificate file: %s", ssl_cafile); in ossl_connect_step1()
2985 infof(data, " CAfile: %s\n", ssl_cafile); in ossl_connect_step1()
3001 if(ssl_cafile || ssl_capath) { in ossl_connect_step1()
3004 if(!SSL_CTX_load_verify_locations(backend->ctx, ssl_cafile, ssl_capath)) { in ossl_connect_step1()
3009 ssl_cafile ? ssl_cafile : "none", in ossl_connect_step1()
3022 infof(data, " CAfile: %s\n", ssl_cafile ? ssl_cafile : "none"); in ossl_connect_step1()
3028 if(verifypeer && !ssl_cafile && !ssl_capath && !imported_native_ca) { in ossl_connect_step1()
Dsectransp.c1397 const char * const ssl_cafile = SSL_CONN_CONFIG(CAfile); local
1758 ssl_cafile || ssl_cablob;
1786 if((ssl_cafile || ssl_cablob) && verifypeer) {
1788 bool is_cert_file = (!is_cert_data) && is_file(ssl_cafile);
1791 failf(data, "SSL: can't load CA certificate file %s", ssl_cafile);
1973 aprintf("%s:%d:%d:%s:%hu", ssl_cafile,