Hellan,Kim KHE wrote:
> 
> 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.

Fine in the sense it produced potentially insecure keys :-(

> 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"
> 

Read the FAQ and then the relevant manual page(s).

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.


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

Reply via email to