RE: Problems with get_notAfter

2004-09-20 Thread Marcos Paraiso
r and then do whatever you want with it. > char buf[128]; > BIO *bio_mem; > bio_mem = BIO_new_mem_buf((void *)buf, 128); > ASSERT(bio_mem!=NULL); > ASN1_TIME_print(bio_mem, X509_get_notAfter(cert)); > BIO_free(bio_mem); > > > > -Original Message- > From:

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

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

Re: A little help please!!!

2004-09-09 Thread Marcos Paraiso
\MinGW\minGW32I really don´t have a clue about what should I do... Dunceor hmm <[EMAIL PROTECTED]> wrote: compile with:gcc -o test test.c -lcrypto- Original Message -From: Marcos Paraiso <[EMAIL PROTECTED]>Date: Thu, 9 Sep 2004 15:25:09 -0300 (ART)Subject: A little help please!!!To

A little help please!!!

2004-09-09 Thread Marcos Paraiso
Hi everybody,   I just started studying the OpenSSL library and I already have a problem... I´m using minGW and the OpenSSL package from http://www.slproweb.com/products/Win32OpenSSL.html on Windows 2000. I´m having problems when I try to compile a simple application, like the one below:   #includ