Home
last modified time | relevance | path

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

/openthread-latest/third_party/mbedtls/repo/programs/x509/
Dcert_app.c80 const char *ca_file; /* the file with the CA certificate(s) */ member
170 opt.ca_file = DFL_CA_FILE; in main()
202 opt.ca_file = q; in main()
240 } else if (strlen(opt.ca_file)) { in main()
241 if ((ret = mbedtls_x509_crt_parse_file(&cacert, opt.ca_file)) < 0) { in main()
/openthread-latest/third_party/mbedtls/repo/programs/ssl/
Dssl_mail_client.c133 const char *ca_file; /* the file with the CA certificate(s) */ member
393 opt.ca_file = DFL_CA_FILE; in main()
433 opt.ca_file = q; in main()
475 if (strlen(opt.ca_file)) { in main()
476 ret = mbedtls_x509_crt_parse_file(&cacert, opt.ca_file); in main()
Dssl_server2.c615 const char *ca_file; /* the file with the CA certificate(s) */ member
794 char *crt_file, *key_file, *ca_file, *auth_str; in sni_parse() local
813 GET_ITEM(ca_file); in sni_parse()
832 if (strcmp(ca_file, "-") != 0) { in sni_parse()
839 if (mbedtls_x509_crt_parse_file(new->ca, ca_file) != 0) { in sni_parse()
1693 opt.ca_file = DFL_CA_FILE; in main()
1885 opt.ca_file = q; in main()
2574 strcmp(opt.ca_file, "none") == 0) { in main()
2580 } else if (strlen(opt.ca_file)) { in main()
2581 ret = mbedtls_x509_crt_parse_file(&cacert, opt.ca_file); in main()
[all …]
Dssl_client2.c476 const char *ca_file; /* the file with the CA certificate(s) */ member
925 opt.ca_file = DFL_CA_FILE; in main()
1104 opt.ca_file = q; in main()
1680 strcmp(opt.ca_file, "none") == 0) { in main()
1686 } else if (strlen(opt.ca_file)) { in main()
1687 ret = mbedtls_x509_crt_parse_file(&cacert, opt.ca_file); in main()
1952 strcmp(opt.ca_file, "none") != 0) { in main()
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_x509parse.function640 void x509_verify_restart(char *crt_file, char *ca_file,
665 TEST_EQUAL(mbedtls_x509_crt_parse_file(&ca, ca_file), 0);
697 void x509_verify(char *crt_file, char *ca_file, char *crl_file,
745 TEST_EQUAL(mbedtls_x509_crt_parse_file(&ca, ca_file), 0);
788 void x509_verify_ca_cb_failure(char *crt_file, char *ca_file, char *name,
801 TEST_EQUAL(mbedtls_x509_crt_parse_file(&ca, ca_file), 0);
821 void x509_verify_callback(char *crt_file, char *ca_file, char *name,
837 TEST_EQUAL(mbedtls_x509_crt_parse_file(&ca, ca_file), 0);
1406 void mbedtls_x509_crt_verify_max(char *ca_file, char *chain_dir, int nb_int,
1423 TEST_EQUAL(mbedtls_x509_crt_parse_file(&trusted, ca_file), 0);