X509err(X509_F_X509_PRINT_FP,ERR_R_BUF_LIB);
X509err(X509_F_X509_PRINT_EX_FP,ERR_R_BUF_LIB);
int X509_print_ex_fp(FILE *fp, X509 *x, unsigned long nmflag, unsigned long cflag)        {        BIO *b;        int ret;        if ((b=BIO_new(BIO_s_file())) == NULL)		{		X509err(X509_F_X509_PRINT_FP,ERR_R_BUF_LIB);                return(0);		}        BIO_set_fp(b,fp,BIO_NOCLOSE);        ret=X509_print_ex(b, x, nmflag, cflag);        BIO_free(b);        return(ret);        }