Lines Matching defs:CAfile
66 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,
111 {"CAfile", OPT_CAFILE, '<', "File with trusted CA certs"},
143 "ts -verify -CApath dir -CAfile file.pem -untrusted file.pem",
153 const char *CAfile = NULL, *untrusted = NULL, *prog;
254 CAfile = opt_arg();
312 CApath, CAfile, untrusted,
820 const char *CApath, const char *CAfile, const char *untrusted,
840 CApath, CAfile, untrusted,
866 const char *CApath, const char *CAfile,
915 if (TS_VERIFY_CTX_set_store(ctx, create_cert_store(CApath, CAfile, vpm))
935 static X509_STORE *create_cert_store(const char *CApath, const char *CAfile,
957 if (CAfile != NULL) {
963 i = X509_LOOKUP_load_file(lookup, CAfile, X509_FILETYPE_PEM);
965 BIO_printf(bio_err, "Error loading file %s\n", CAfile);