Hi

I have a Win32 project where I have the following code for generating an RSA
key:

RSA *rsa = RSA_generate_key(512, RSA_F4, NULL, NULL);

In OpenSSL 0.9.4 this has always been working just fine.
Now I have just upgraded to version 0.9.5 and the RSA_generate_key() now
always return a NULL pointer ??

I have tried checking the error codes and it should say something like:
"error:24064064:random number generator:SSLEAY_RAND_BYTES:prng not seeded"

Have you made some changes to this function since version 0.9.4?
Is there something that I now have to initialize/seed first?

I have build the libraries the same way I always do.....using:
perl Configure VC-WIN32
ms\do_nasm
nmake -f ms\ntdll.mak

> Med venlig hilsen / Best regards
> 
> Kim Hellan
> KMD
> Niels Bohrs Alle 185
> DK-5220 Odense S�
> Phone: (+45) 44 60 52 54 (direct)
> Fax (+45) 44 60 52 76
> Mailto:[EMAIL PROTECTED]
> 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to