Home
last modified time | relevance | path

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

/net-tools-3.5.0/mbedtls-2.4.0/programs/x509/
Dcert_app.c107 const char *ca_file; /* the file with the CA certificate(s) */ member
189 opt.ca_file = DFL_CA_FILE; in main()
222 opt.ca_file = q; in main()
258 else if( strlen( opt.ca_file ) ) in main()
260 ret = mbedtls_x509_crt_parse_file( &cacert, opt.ca_file ); in main()
/net-tools-3.5.0/mbedtls-2.4.0/programs/ssl/
Dssl_mail_client.c151 const char *ca_file; /* the file with the CA certificate(s) */ member
406 opt.ca_file = DFL_CA_FILE; in main()
449 opt.ca_file = q; in main()
493 if( strlen( opt.ca_file ) ) in main()
494 ret = mbedtls_x509_crt_parse_file( &cacert, opt.ca_file ); in main()
Dssl_server2.c364 const char *ca_file; /* the file with the CA certificate(s) */ member
532 char *crt_file, *key_file, *ca_file, *crl_file, *auth_str; in sni_parse() local
549 GET_ITEM( ca_file ); in sni_parse()
564 if( strcmp( ca_file, "-" ) != 0 ) in sni_parse()
571 if( mbedtls_x509_crt_parse_file( new->ca, ca_file ) != 0 ) in sni_parse()
907 opt.ca_file = DFL_CA_FILE; in main()
983 opt.ca_file = q; in main()
1404 else if( strlen( opt.ca_file ) ) in main()
1405 if( strcmp( opt.ca_file, "none" ) == 0 ) in main()
1408 ret = mbedtls_x509_crt_parse_file( &cacert, opt.ca_file ); in main()
[all …]
Dssl_client2.c288 const char *ca_file; /* the file with the CA certificate(s) */ member
479 opt.ca_file = DFL_CA_FILE; in main()
563 opt.ca_file = q; in main()
958 else if( strlen( opt.ca_file ) ) in main()
959 if( strcmp( opt.ca_file, "none" ) == 0 ) in main()
962 ret = mbedtls_x509_crt_parse_file( &cacert, opt.ca_file ); in main()
1173 strcmp( opt.ca_file, "none" ) != 0 ) in main()
/net-tools-3.5.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_x509parse.function206 void x509_verify( char *crt_file, char *ca_file, char *crl_file,
235 TEST_ASSERT( mbedtls_x509_crt_parse_file( &ca, ca_file ) == 0 );
251 void x509_verify_callback( char *crt_file, char *ca_file,
265 TEST_ASSERT( mbedtls_x509_crt_parse_file( &ca, ca_file ) == 0 );