Re: BIO_printf() and ERR_print_errors() do not allocate memory

2002-09-22 Thread mlcarey59
n" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, September 22, 2002 5:58 AM Subject: Re: BIO_printf() and ERR_print_errors() do not allocate memory > On Sun, Sep 22, 2002, Stephan Schulze wrote: > > > I also found errors using PEM_read_ RSAPrivateKey(FILE *fp,...)

Re: BIO_printf() and ERR_print_errors() do not allocate memory

2002-09-22 Thread Dr. Stephen Henson
On Sun, Sep 22, 2002, Stephan Schulze wrote: > I also found errors using PEM_read_ RSAPrivateKey(FILE *fp,...) OR >PEM_read_bio_RSAPrivateKey(BIO *bio,...) when the bio points to a file. > > My solution was to read the private-key file into a memory buffer with fread(). > (This means that the

Re: BIO_printf() and ERR_print_errors() do not allocate memory

2002-09-22 Thread Stephan Schulze
, 2002 7:09 AM Subject: BIO_printf() and ERR_print_errors() do not allocate memory BIO_printf and ERR_print_errors() cannnot write memory and cause an unhandled excepting in NTDLL.dll under Win32 complied with VC++ using the Debug Multithreaded DLL.   I modified the sign.c demo