Home
last modified time | relevance | path

Searched refs:cafile (Results 1 – 11 of 11) sorted by relevance

/openbsd/regress/lib/libcrypto/ocsp/
H A Docsp_test.c77 char *cafile = _PATH_SSL_CA_FILE; in main() local
79 char *cafile = "/etc/ssl/cert.pem"; in main() local
90 if (!SSL_CTX_load_verify_locations(ctx, cafile, NULL)) { in main()
91 printf("failed to load %s\n", cafile); in main()
/openbsd/gnu/usr.bin/perl/cpan/libnet/t/
H A Dnntp_ssl.t47 my ($fh,$cafile) = tempfile();
52 END { unlink($cafile) if $$ == $parent }
77 SSL_ca_file => $cafile
H A Dpop3_ssl.t46 my ($fh,$cafile) = tempfile();
51 END { unlink($cafile) if $$ == $parent }
76 SSL_ca_file => $cafile
H A Dsmtp_ssl.t46 my ($fh,$cafile) = tempfile();
51 END { unlink($cafile) if $$ == $parent }
76 SSL_ca_file => $cafile
/openbsd/regress/lib/libssl/interop/botan/
H A Dclient.cpp159 char *cafile = NULL; in main() local
165 cafile = optarg; in main()
200 if (cafile != NULL) in main()
201 creds.add_certificate_file(cafile); in main()
/openbsd/usr.sbin/ocspcheck/
H A Docspcheck.c552 const char *cafile = NULL, *cadir = NULL; in main() local
568 cafile = optarg; in main()
612 if (cafile == NULL) { in main()
614 cafile = X509_get_default_cert_file(); in main()
619 if (cafile != NULL) { in main()
620 if (unveil(cafile, "r") == -1) in main()
621 err(1, "unveil %s", cafile); in main()
638 if ((castore = read_cacerts(cafile, cadir)) == NULL) in main()
/openbsd/lib/libssl/test/
H A Dcms-examples.pl265 $cafile = "$cmsdir/CarlDSSSelf.pem" if $tlist =~ /dss/;
266 $cafile = "$cmsdir/CarlRSASelf.pem" if $tlist =~ /rsa/;
270 . " -CAfile $cafile"
/openbsd/usr.sbin/smtpd/
H A Dsmtpc.c48 static const char *cafile = NULL; variable
86 cafile = value; in parse_tls_options()
237 if (cafile == NULL) in main()
238 cafile = tls_default_ca_cert_file(); in main()
239 if (tls_config_set_ca_file(tls_config, cafile) == -1) in main()
/openbsd/regress/lib/libtls/tls/
H A Dtlstest.c36 char *cafile, *certfile, *keyfile; variable
313 if (tls_config_set_ca_file(client_cfg, cafile) == -1) in test_tls()
361 if (tls_config_set_ca_file(client_cfg, cafile) == -1) in do_tls_tests()
424 if (tls_config_set_ca_file(client_cfg, cafile) == -1) in do_tls_ordering_tests()
545 cafile = argv[1]; in main()
/openbsd/usr.bin/openssl/
H A Dcrl.c72 char *cafile; member
97 .opt.arg = &cfg.cafile,
255 if (cfg.cafile != NULL || cfg.capath != NULL) in crl_main()
287 if (!X509_LOOKUP_load_file(lookup, cfg.cafile, in crl_main()
/openbsd/regress/lib/libtls/signer/
H A Dsignertest.c358 test_signer_tls(char *certfile, char *keyfile, char *cafile) in test_signer_tls() argument
375 if (tls_config_set_ca_file(client_cfg, cafile) == -1) in test_signer_tls()