Home
last modified time | relevance | path

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

/external/tlsdate/src/
Dtlsdate.c112 const char *ca_cert_container; in main() local
121 ca_cert_container = DEFAULT_CERTFILE; in main()
185 ca_cert_container = optarg; in main()
225 ca_cert_container, in main()
Dtlsdate-helper-plan9.c844 if (-1 == stat (ca_cert_container, &statbuf)) in run_ssl()
846 die("Unable to stat CA certficate container %s\n", ca_cert_container); in run_ssl()
853 if (0 > x509parse_crtfile(&cacert, ca_cert_container)) in run_ssl()
857 if (0 > x509parse_crtpath(&cacert, ca_cert_container)) in run_ssl()
861 die("Unable to load CA certficate container %s\n", ca_cert_container); in run_ssl()
998 if (-1 == stat(ca_cert_container, &statbuf)) in run_ssl()
1000 die("Unable to stat CA certficate container %s\n", ca_cert_container); in run_ssl()
1006 if (1 != SSL_CTX_load_verify_locations(ctx, ca_cert_container, NULL)) in run_ssl()
1010 if (1 != SSL_CTX_load_verify_locations(ctx, NULL, ca_cert_container)) in run_ssl()
1014 if (1 != SSL_CTX_load_verify_locations(ctx, NULL, ca_cert_container)) in run_ssl()
[all …]
Dtlsdate-helper.c984 if (-1 == stat (ca_cert_container, &statbuf)) in run_ssl()
986 die("Unable to stat CA certficate container %s", ca_cert_container); in run_ssl()
993 if (0 > x509parse_crtfile(&cacert, ca_cert_container)) in run_ssl()
997 if (0 > x509parse_crtpath(&cacert, ca_cert_container)) in run_ssl()
1001 die("Unable to load CA certficate container %s", ca_cert_container); in run_ssl()
1142 if (-1 == stat(ca_cert_container, &statbuf)) in run_ssl()
1144 die("Unable to stat CA certficate container %s", ca_cert_container); in run_ssl()
1150 if (1 != SSL_CTX_load_verify_locations(ctx, ca_cert_container, NULL)) in run_ssl()
1154 if (1 != SSL_CTX_load_verify_locations(ctx, NULL, ca_cert_container)) in run_ssl()
1158 if (1 != SSL_CTX_load_verify_locations(ctx, NULL, ca_cert_container)) in run_ssl()
[all …]
Dtlsdate-helper-plan9.h99 static const char *ca_cert_container; variable
Dtlsdate-helper.h125 static const char *ca_cert_container; variable