Lines Matching refs:ca_file
620 const char *ca_file; /* the file with the CA certificate(s) */ member
796 char *crt_file, *key_file, *ca_file, *auth_str; in sni_parse() local
815 GET_ITEM(ca_file); in sni_parse()
834 if (strcmp(ca_file, "-") != 0) { in sni_parse()
841 if (mbedtls_x509_crt_parse_file(new->ca, ca_file) != 0) { in sni_parse()
1689 opt.ca_file = DFL_CA_FILE; in main()
1882 opt.ca_file = q; in main()
2556 strcmp(opt.ca_file, "none") == 0) { in main()
2562 } else if (strlen(opt.ca_file)) { in main()
2563 ret = mbedtls_x509_crt_parse_file(&cacert, opt.ca_file); in main()
3024 strcmp(opt.ca_file, "none") != 0) { in main()