RE: Problems with get_notAfter

2004-09-20 Thread Marcos Paraiso
Marcos Paraiso > [mailto:[EMAIL PROTECTED] > Sent: Monday, September 20, 2004 9:25 AM > To: [EMAIL PROTECTED] > Subject: RE: Problems with get_notAfter > > > Yes, I checked if the hbio and the cert were > properly > loaded (hbio!= NULL and cert!= NULL)... As I wrote

RE: Problems with get_notAfter

2004-09-20 Thread Lee Baydush
Paraiso [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 9:25 AM To: [EMAIL PROTECTED] Subject: RE: Problems with get_notAfter Yes, I checked if the hbio and the cert were properly loaded (hbio!= NULL and cert!= NULL)... As I wrote before, I was able to print the full cert... Marcos

RE: Problems with get_notAfter

2004-09-20 Thread Marcos Paraiso
ed the hbio!=NULL and cert!=NULL? > > -Original Message- > From: Marcos Paraiso > [mailto:[EMAIL PROTECTED] > Sent: Monday, September 20, 2004 9:08 AM > To: [EMAIL PROTECTED] > Subject: Problems with get_notAfter > > > Hi everebody, > > I´m new with Op

RE: Problems with get_notAfter

2004-09-20 Thread Lee Baydush
Do you know are you trying to output to an input only BIO? I assume you also checked the hbio!=NULL and cert!=NULL? -Original Message- From: Marcos Paraiso [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 9:08 AM To: [EMAIL PROTECTED] Subject: Problems with get_notAfter Hi

Problems with get_notAfter

2004-09-20 Thread Marcos Paraiso
Hi everebody, I´m new with OpenSSL and am having some trouble ... I´m trying to print the endDate of a certificate, using the ASN1_TIME_print function but nothing happens. Here´s an excerpt from the code: FILE *file; BIO *hbio; X509 *cert; hbio = BIO_new_file(file, "r"); cert = PEM_read_bio_X50