Home
last modified time | relevance | path

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

/mbedtls-development/programs/x509/
A Dcert_app.c105 const char *ca_file; /* the file with the CA certificate(s) */ member
187 opt.ca_file = DFL_CA_FILE; in main()
220 opt.ca_file = q; in main()
261 else if( strlen( opt.ca_file ) ) in main()
263 if( ( ret = mbedtls_x509_crt_parse_file( &cacert, opt.ca_file ) ) < 0 ) in main()
/mbedtls-development/programs/ssl/
A Dssl_mail_client.c156 const char *ca_file; /* the file with the CA certificate(s) */ member
424 opt.ca_file = DFL_CA_FILE; in main()
467 opt.ca_file = q; in main()
511 if( strlen( opt.ca_file ) ) in main()
512 ret = mbedtls_x509_crt_parse_file( &cacert, opt.ca_file ); in main()
A Dssl_server2.c568 const char *ca_file; /* the file with the CA certificate(s) */ member
727 char *crt_file, *key_file, *ca_file, *auth_str; in sni_parse() local
747 GET_ITEM( ca_file ); in sni_parse()
764 if( strcmp( ca_file, "-" ) != 0 ) in sni_parse()
771 if( mbedtls_x509_crt_parse_file( new->ca, ca_file ) != 0 ) in sni_parse()
1495 opt.ca_file = DFL_CA_FILE; in main()
1622 opt.ca_file = q; in main()
2340 strcmp( opt.ca_file, "none" ) == 0 ) in main()
2348 else if( strlen( opt.ca_file ) ) in main()
2349 ret = mbedtls_x509_crt_parse_file( &cacert, opt.ca_file ); in main()
[all …]
A Dssl_client2.c453 const char *ca_file; /* the file with the CA certificate(s) */ member
822 opt.ca_file = DFL_CA_FILE; in main()
947 opt.ca_file = q; in main()
1596 strcmp( opt.ca_file, "none" ) == 0 ) in main()
1604 else if( strlen( opt.ca_file ) ) in main()
1605 ret = mbedtls_x509_crt_parse_file( &cacert, opt.ca_file ); in main()
1867 strcmp( opt.ca_file, "none" ) != 0 ) in main()
/mbedtls-development/tests/suites/
A Dtest_suite_x509parse.function545 void x509_verify_restart( char *crt_file, char *ca_file,
570 TEST_ASSERT( mbedtls_x509_crt_parse_file( &ca, ca_file ) == 0 );
601 void x509_verify( char *crt_file, char *ca_file, char *crl_file,
647 TEST_ASSERT( mbedtls_x509_crt_parse_file( &ca, ca_file ) == 0 );
677 void x509_verify_ca_cb_failure( char *crt_file, char *ca_file, char *name,
689 TEST_ASSERT( mbedtls_x509_crt_parse_file( &ca, ca_file ) == 0 );
707 void x509_verify_callback( char *crt_file, char *ca_file, char *name,
723 TEST_ASSERT( mbedtls_x509_crt_parse_file( &ca, ca_file ) == 0 );
1039 void mbedtls_x509_crt_verify_max( char *ca_file, char *chain_dir, int nb_int,
1058 TEST_ASSERT( mbedtls_x509_crt_parse_file( &trusted, ca_file ) == 0 );

Completed in 16 milliseconds