Geoff Thorpe wrote:

> On Mon, 27 Nov 2000, Rafa [iso-8859-1] Mar�n L�pez wrote:
>
> > Hello, all.
> >
> > I've a problem.
> >
> > In this instruction:
> >
> >      RSA *rsa=RSA_generate_key((int)1024,RSA_F4,NULL,NULL);
> >
> > I have obtained NULL (rsa == NULL). Why?
>
> If you're calling ERR_load_crypto_strings() (or SSL_load_error_strings())
> prior to this line, and then after the call to generate the key you add;
>
> if(!rsa) {
>     ERR_print_errors_fp(stderr);
>     abort();
> }
>
> you should get a clearer indication. If the error message mentions PRNG,
> then please read the FAQ.

I'm sorry, but this indication isn't shown (null string). So I don't know
what error is ocurring.



>
>
> hope that helps,
> Geoff
>
> ______________________________________________________________________
> OpenSSL Project                                http://www.openssl.org
> Development Mailing List                       [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]

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

Reply via email to