Hi,

On Fri, Jan 08, 2010 at 11:42:39AM +0530, Radha krishna Meduri -X (radmedur - 
HCL at Cisco) wrote:
> 
> 
> X509_CRL *pCRL=0, *pTempCRL = 0;
> 
> pCRL = d2i_X509_CRL_fp( m_pfCRLFile, &pTempCRL );
> 
> if( !pCRL )
> {
>     printf("Unable to read using d2i_X509_CRL_fp\n");
      
/* Filepointer is somewhere in the file. Reset it */
rewind(m_pfCRLFile);


>     pCRL = PEM_read_X509_CRL(m_pfCRLFile, &pTempCRL, NULL, 0);
> }

fclose(m_pfCRLFile);


> 
> if( !pCRL )
> {
>     printf("Unable to read CRL file\n" );
>     exit(0);
> }

best regards

        Christian

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to