Hi,
I am using openSSL 0.9.7b on PPC604 vxWorks Board.
During initilization of OpenSSL with DHparam file, following flow is used:
pDHParamfp  /* file pointer to dhparam.pem file */
..
dh = PEM_read_DHparams(pDHParamfp, sdf_co_null, Sdf_co_null, Sdf_co_null);
..SSL_CTX_set_tmp_dh(pSslCtx, dh);

from here I am getting the error message "PRNG not seeded".
This function calls the function 'generate_key' of OpenSSL and from here
'BN_rand' returns failure with this error code.

On reading the OpenSSL faq, found that the function 'RAND_egd()' needs to be
called before this. 
I tried calling this function also but the problem remained the same because
this function does nothing for vxWorks. 

The same source code works fine on Pentium arch. on vxWorks. 

Pls suggest if this problem is encountered before.

Thanks.


-- 
View this message in context: 
http://www.nabble.com/PRNG-not-seeded-problem-on-PPC604-%28vxWorks-5.5%29-tp19533511p19533511.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to