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

/freebsd-9.3-release/crypto/openssl/apps/
H A Dverify.c85 char *CApath = NULL, *CAfile = NULL; local
115 if (strcmp(*argv, "-CApath") == 0) {
118 CApath = *(++argv);
180 if (CApath) {
181 i = X509_LOOKUP_add_dir(lookup, CApath, X509_FILETYPE_PEM);
183 BIO_printf(bio_err, "Error loading directory %s\n", CApath);
218 "usage: verify [-verbose] [-CApath path] [-CAfile file] [-purpose purpose] [-crl_check]");
H A Dcrl.c91 " -CApath dir - verify CRL using certificates in \"dir\"\n",
105 char *CAfile = NULL, *CApath = NULL; local
174 } else if (strcmp(*argv, "-CApath") == 0) {
177 CApath = *(++argv);
243 if (!X509_LOOKUP_add_dir(lookup, CApath, X509_FILETYPE_PEM))
H A Ds_time.c180 static char *CApath = NULL; variable
203 CApath = NULL;
234 -CApath arg - PEM format directory of CA's\n\
310 } else if (strcmp(*argv, "-CApath") == 0) {
314 CApath = *(++argv);
486 if ((!SSL_CTX_load_verify_locations(tm_ctx, CAfile, CApath)) ||
H A Dsmime.c105 char *CAfile = NULL, *CApath = NULL; local
276 } else if (!strcmp(*args, "-CApath")) {
279 CApath = *args;
405 "-CApath dir trusted certificates directory\n");
561 if (!(store = setup_verify(bio_err, CAfile, CApath)))
H A Dapps.h285 X509_STORE *setup_verify(BIO *bp, char *CAfile, char *CApath);
H A Docsp.c123 char *CAfile = NULL, *CApath = NULL; local
277 } else if (!strcmp(*args, "-CApath")) {
280 CApath = *args;
472 "-CApath dir trusted certificates directory\n");
730 store = setup_verify(bio_err, CAfile, CApath);
H A Ds_client.c225 BIO_printf(bio_err, " -CApath arg - PEM format directory of CA's\n");
345 char *CApath = NULL, *CAfile = NULL, *cipher = NULL; local
535 } else if (strcmp(*argv, "-CApath") == 0) {
538 CApath = *(++argv);
742 if ((!SSL_CTX_load_verify_locations(ctx, CAfile, CApath)) ||
H A Dcms.c126 char *CAfile = NULL, *CApath = NULL; local
414 } else if (!strcmp(*args, "-CApath")) {
417 CApath = *++args;
567 "-CApath dir trusted certificates directory\n");
775 if (!(store = setup_verify(bio_err, CAfile, CApath)))
H A Dpkcs12.c134 char *CApath = NULL, *CAfile = NULL; local
322 } else if (!strcmp(*args, "-CApath")) {
325 CApath = *args;
357 BIO_printf(bio_err, "-CApath arg - PEM format directory of CA's\n");
606 if (!X509_STORE_load_locations(store, CAfile, CApath))
H A Dapps.c1268 X509_STORE *setup_verify(BIO *bp, char *CAfile, char *CApath) argument
1288 if (CApath) {
1289 if (!X509_LOOKUP_add_dir(lookup, CApath, X509_FILETYPE_PEM)) {
1290 BIO_printf(bp, "Error loading directory %s\n", CApath);
H A Ds_server.c393 BIO_printf(bio_err, " -CApath arg - PEM format directory of CA's\n");
788 char *CApath = NULL, *CAfile = NULL; local
923 } else if (strcmp(*argv, "-CApath") == 0) {
926 CApath = *(++argv);
1268 if ((!SSL_CTX_load_verify_locations(ctx, CAfile, CApath)) ||
1324 if ((!SSL_CTX_load_verify_locations(ctx2, CAfile, CApath)) ||
/freebsd-9.3-release/crypto/openssl/crypto/threads/
H A Dmttest.c174 fprintf(stderr, " -CApath arg - PEM format directory of CA's\n");
187 char *CApath = NULL, *CAfile = NULL; local
220 else if (strcmp(*argv, "-CApath") == 0) {
223 CApath = *(++argv);
297 if ((!SSL_CTX_load_verify_locations(s_ctx, CAfile, CApath)) ||
299 (!SSL_CTX_load_verify_locations(c_ctx, CAfile, CApath)) ||
/freebsd-9.3-release/crypto/openssl/ssl/
H A Dssl_task.c213 char *CApath = NULL, *CAfile = NULL; local
H A Dssltest.c274 fprintf(stderr, " -CApath arg - PEM format directory of CA's\n");
395 char *CApath = NULL, *CAfile = NULL; local
560 } else if (strcmp(*argv, "-CApath") == 0) {
563 CApath = *(++argv);
784 if ((!SSL_CTX_load_verify_locations(s_ctx, CAfile, CApath)) ||
786 (!SSL_CTX_load_verify_locations(c_ctx, CAfile, CApath)) ||
H A Dssl_lib.c2588 const char *CApath)
2590 return (X509_STORE_load_locations(ctx->cert_store, CAfile, CApath));
2587 SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile, const char *CApath) argument
H A Dssl.h1675 const char *CApath);
/freebsd-9.3-release/crypto/openssl/test/
H A DMakefile279 ../util/shlib_wrap.sh ../apps/openssl verify -CApath ../certs ../certs/*.pem

Completed in 114 milliseconds