Lines Matching defs:certfile
74 static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile);
91 char *infile,*outfile,*prog,*certfile;
140 else if (strcmp(*argv,"-certfile") == 0)
171 BIO_printf(bio_err," -certfile arg certificates file of chain to a trusted CA\n");
173 BIO_printf(bio_err," -nocrl no crl to load, just certs from '-certfile'\n");
236 certfile = sk_OPENSSL_STRING_value(certflst, i);
237 if (add_certs_from_file(cert_stack,certfile) < 0)
301 static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile)
310 if ((in == NULL) || (BIO_read_filename(in,certfile) <= 0))
312 BIO_printf(bio_err,"error opening the file, %s\n",certfile);
319 BIO_printf(bio_err,"error reading the file, %s\n",certfile);