You have to use the multithread option /Md when compiling your applications
with the OpenSSL library

If your using Microsoft VC++ or NET read the Install.W32 file the root
directory of the distrubution source.

Marcus


----- Original Message ----- 
From: "ilhom via RT" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <openssl-dev@openssl.org>
Sent: Monday, May 16, 2005 8:37 PM
Subject: [openssl.org #897] Bug Report -- PEM_read and PEM_write functions
cause application errors.


>
>
> Hi MarcusI have problem like this>[openssl.org #897] Bug Report -- 
PEM_read and >PEM_write functions cause application errors.
> >Marcus Carey via RT
> >Thu, 17 Jun 2004 22:54:49 -0700
>
> >Windows 2000
> >MS VC++ .NET
> >OpenSSL 0.9.7d 17 Mar 2004
>
> >FILE *fp;
> >X509 *cert;
>
> >fp = fopen("SomefFile","r");
> >cert = PEM_read_X509(fp,NULL,NULL,NULL);
> >fclose(fp);
>
> >I have narrowed it down to the BIO_gets() function.
>
> >int BIO_get(BIO *b, char *in, int inl)
> >{
> >  i=b->method->bgets(b,in,inl);   /* This causes an application error -
"The memory
> >could not be writting" */
> >  return(i);
> >}
>
>
> >This error also occures with PEM_write functions.
> >Marcus
> And you write :>..I was compiling with the wrong C libraries...Can you say
me where can I download this libraries ?Ilhom.P.s. I'm from Russia and my
endlish not good :)
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.11.11 - Release Date: 5/16/2005
>
>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to