I got it to work by selecting Project : Settings from the menu to access the
Project Settings dialog and under C/C++ and selecting Code Generation from
the Category drop down box.

Setting the runtime library to Multithreaded DLL, which is the library that
OpenSSL uses, works.

I should have taken more time trying to figure it for myself before posting
this request to the list and wasting Dr. Henson's time.  So I would like to
apologize and say I appreciate what you and others are doing with the
OpenSSL project.

Marcus----- Original Message -----
From: "Dr. Stephen Henson" <[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,...) 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 file is not protected with a password)
> >
> > Associate a bio with this memory buffer:
> > bio = BIO_new(bio_s_mem())
> >
> > Using the PEM_read_bio_RSAPrivateKey() now works for some reason.
> >
> > Is do not know what causes this problem under windows.
> >
>
> See if the FAQ helps...
>
> Steve.
> --
> Dr. Stephen Henson      [EMAIL PROTECTED]
> OpenSSL Project         http://www.openssl.org/~steve/
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to