Searched refs:CApath (Results 1 - 15 of 15) sorted by relevance

/freebsd-13-stable/crypto/openssl/apps/
H A Dverify.c41 {"CApath", OPT_CAPATH, '/', "A directory of trusted certificates"},
45 {"no-CApath", OPT_NOCAPATH, '-',
70 const char *prog, *CApath = NULL, *CAfile = NULL; local
111 CApath = opt_arg();
165 if (trusted != NULL && (CAfile || CApath)) {
167 "%s: Cannot use -trusted with -CAfile or -CApath\n",
172 if ((store = setup_verify(CAfile, CApath, noCAfile, noCApath)) == NULL)
H A Dts.c66 const char *CApath, const char *CAfile, const char *untrusted,
70 const char *CApath, const char *CAfile,
73 static X509_STORE *create_cert_store(const char *CApath, const char *CAfile,
110 {"CApath", OPT_CAPATH, '/', "Path to trusted CA files"},
143 "ts -verify -CApath dir -CAfile file.pem -untrusted file.pem",
160 char *inkey = NULL, *signer = NULL, *chain = NULL, *CApath = NULL; local
251 CApath = opt_arg();
312 CApath, CAfile, untrusted,
820 const char *CApath, const char *CAfile, const char *untrusted,
840 CApath, CAfil
818 verify_command(const char *data, const char *digest, const char *queryfile, const char *in, int token_in, const char *CApath, const char *CAfile, const char *untrusted, X509_VERIFY_PARAM *vpm) argument
864 create_verify_ctx(const char *data, const char *digest, const char *queryfile, const char *CApath, const char *CAfile, const char *untrusted, X509_VERIFY_PARAM *vpm) argument
935 create_cert_store(const char *CApath, const char *CAfile, X509_VERIFY_PARAM *vpm) argument
[all...]
H A Dcrl.c46 {"CApath", OPT_CAPATH, '/', "Verify CRL using certificates in dir"},
50 {"no-CApath", OPT_NOCAPATH, '-',
74 const char *CAfile = NULL, *CApath = NULL, *prog; local
122 CApath = opt_arg();
188 if ((store = setup_verify(CAfile, CApath, noCAfile, noCApath)) == NULL)
H A Ds_time.c63 {"CApath", OPT_CAPATH, '/', "PEM format directory of CA's"},
68 {"no-CApath", OPT_NOCAPATH, '-',
97 char *CApath = NULL, *CAfile = NULL, *cipher = NULL, *ciphersuites = NULL; local
148 CApath = opt_arg();
209 if (!ctx_set_verify_locations(ctx, CAfile, CApath, noCAfile, noCApath)) {
H A Dsmime.c87 {"CApath", OPT_CAPATH, '/', "Trusted certificates directory"},
91 {"no-CApath", OPT_NOCAPATH, '-',
124 const char *CAfile = NULL, *CApath = NULL, *prog = NULL; local
303 CApath = opt_arg();
476 if ((store = setup_verify(CAfile, CApath, noCAfile, noCApath)) == NULL)
H A Dapps.h471 X509_STORE *setup_verify(const char *CAfile, const char *CApath,
474 const char *CApath, int noCAfile,
H A Dpkcs12.c105 {"CApath", OPT_CAPATH, '/', "PEM-format directory of CA's"},
109 {"no-CApath", OPT_NOCAPATH, '-',
136 const char *CApath = NULL, *CAfile = NULL, *prog; local
267 CApath = opt_arg();
403 if ((store = setup_verify(CAfile, CApath, noCAfile, noCApath))
H A Dcms.c144 {"CApath", OPT_CAPATH, '/', "trusted certificates directory"},
147 {"no-CApath", OPT_NOCAPATH, '-',
203 const char *CAfile = NULL, *CApath = NULL; local
380 CApath = opt_arg();
800 if ((store = setup_verify(CAfile, CApath, noCAfile, noCApath)) == NULL)
H A Docsp.c192 {"CApath", OPT_CAPATH, '<', "Trusted certificates directory"},
195 {"no-CApath", OPT_NOCAPATH, '-',
246 const char *CAfile = NULL, *CApath = NULL; local
389 CApath = opt_arg();
755 store = setup_verify(CAfile, CApath, noCAfile, noCApath);
H A Dapps.c130 const char *CApath, int noCAfile, int noCApath)
132 if (CAfile == NULL && CApath == NULL) {
140 return SSL_CTX_load_verify_locations(ctx, CAfile, CApath);
1230 X509_STORE *setup_verify(const char *CAfile, const char *CApath, int noCAfile, int noCApath) argument
1252 if (CApath != NULL || !noCApath) {
1256 if (CApath) {
1257 if (!X509_LOOKUP_add_dir(lookup, CApath, X509_FILETYPE_PEM)) {
1258 BIO_printf(bio_err, "Error loading directory %s\n", CApath);
129 ctx_set_verify_locations(SSL_CTX *ctx, const char *CAfile, const char *CApath, int noCAfile, int noCApath) argument
H A Ds_server.c806 {"CApath", OPT_CAPATH, '/', "PEM format directory of CA's"},
809 {"no-CApath", OPT_NOCAPATH, '-',
985 const char *CApath = NULL, *CAfile = NULL, *chCApath = NULL, *chCAfile = NULL; local
1246 CApath = opt_arg();
1876 if (!ctx_set_verify_locations(ctx, CAfile, CApath, noCAfile, noCApath)) {
1937 if (!ctx_set_verify_locations(ctx2, CAfile, CApath, noCAfile,
H A Ds_client.c628 {"CApath", OPT_CAPATH, '/', "PEM format directory of CA's"},
632 {"no-CApath", OPT_NOCAPATH, '-',
899 const char *CApath = NULL, *CAfile = NULL; local
1388 CApath = opt_arg();
1926 if (!ctx_set_verify_locations(ctx, CAfile, CApath, noCAfile, noCApath)) {
/freebsd-13-stable/crypto/openssl/ssl/
H A Dssl_conf.c468 const char *CAfile, const char *CApath, int verify_store)
484 return X509_STORE_load_locations(*st, CAfile, CApath) > 0;
467 do_store(SSL_CONF_CTX *cctx, const char *CAfile, const char *CApath, int verify_store) argument
H A Dssl_lib.c4224 const char *CApath)
4226 return X509_STORE_load_locations(ctx->cert_store, CAfile, CApath);
4223 SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile, const char *CApath) argument
/freebsd-13-stable/crypto/openssl/include/openssl/
H A Dssl.h1997 const char *CApath);

Completed in 201 milliseconds