Lines Matching refs:certfile
76 static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile);
94 char *infile, *outfile, *prog, *certfile;
136 } else if (strcmp(*argv, "-certfile") == 0) {
165 " -certfile arg certificates file of chain to a trusted CA\n");
168 " -nocrl no crl to load, just certs from '-certfile'\n");
231 certfile = sk_OPENSSL_STRING_value(certflst, i);
232 if (add_certs_from_file(cert_stack, certfile) < 0) {
294 static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile)
303 if ((in == NULL) || (BIO_read_filename(in, certfile) <= 0)) {
304 BIO_printf(bio_err, "error opening the file, %s\n", certfile);
311 BIO_printf(bio_err, "error reading the file, %s\n", certfile);