Home
last modified time | relevance | path

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

/mbedtls-latest/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()
/mbedtls-latest/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()
1702 opt.ca_file = DFL_CA_FILE; in main()
1894 opt.ca_file = q; in main()
2583 strcmp(opt.ca_file, "none") == 0) { in main()
2589 } else if (strlen(opt.ca_file)) { in main()
2590 ret = mbedtls_x509_crt_parse_file(&cacert, opt.ca_file); in main()
[all …]
Dssl_client2.c478 const char *ca_file; /* the file with the CA certificate(s) */ member
934 opt.ca_file = DFL_CA_FILE; in main()
1114 opt.ca_file = q; in main()
1695 strcmp(opt.ca_file, "none") == 0) { in main()
1701 } else if (strlen(opt.ca_file)) { in main()
1702 ret = mbedtls_x509_crt_parse_file(&cacert, opt.ca_file); in main()
1971 strcmp(opt.ca_file, "none") != 0) { in main()
/mbedtls-latest/tests/suites/
Dtest_suite_x509parse.function653 void x509_verify_restart(char *crt_file, char *ca_file,
678 TEST_EQUAL(mbedtls_x509_crt_parse_file(&ca, ca_file), 0);
710 void x509_verify(char *crt_file, char *ca_file, char *crl_file,
758 TEST_EQUAL(mbedtls_x509_crt_parse_file(&ca, ca_file), 0);
801 void x509_verify_ca_cb_failure(char *crt_file, char *ca_file, char *name,
814 TEST_EQUAL(mbedtls_x509_crt_parse_file(&ca, ca_file), 0);
834 void x509_verify_callback(char *crt_file, char *ca_file, char *name,
850 TEST_EQUAL(mbedtls_x509_crt_parse_file(&ca, ca_file), 0);
1419 void mbedtls_x509_crt_verify_max(char *ca_file, char *chain_dir, int nb_int,
1436 TEST_EQUAL(mbedtls_x509_crt_parse_file(&trusted, ca_file), 0);