BIO_printf(bio_err,"unable to file the file, %s\n",certfile);
BIO_printf(bio_err,"unable to load the file, %s\n",certfile);
static int add_certs_from_file(stack,certfile)STACK *stack;char *certfile;	{	struct stat st;	BIO *in=NULL;	int count=0;	int ret= -1;	STACK *sk=NULL;	X509_INFO *xi;	if ((stat(certfile,&st) != 0))		{		BIO_printf(bio_err,"unable to file the file, %s\n",certfile);		goto end;		}	in=BIO_new(BIO_s_file());	if ((in == NULL) || (BIO_read_filename(in,certfile) <= 0))		{		goto end;		}	/* This loads from a file, a stack of x509/crl/pkey sets */	sk=PEM_X509_INFO_read_bio(in,NULL,NULL);	if (sk == NULL) goto end;	/* scan over it and pull out the CRL's */	while (sk_num(sk))		{		xi=(X509_INFO *)sk_shift(sk);		if (xi->x509 != NULL)			{			sk_push(stack,(char *)xi->x509);			xi->x509=NULL;			count++;			}		X509_INFO_free(xi);		}	ret=count;end: 	/* never need to Free x */	if (in != NULL) BIO_free(in);	if (sk != NULL) sk_free(sk);	return(ret);	}