Hi,

I use the OpenSSL-Lib since version 0.5.1b (SSLeay) for my HTTPS-PlugIn for  
the OmniWeb-Browser (MacOS X/OPENSTEP) and had no problems to use and compile  
the OpenSSL-Lib as Framework (shared lib) for MacOS X and OPENSTEP 4.2/NEXTSTEP  
3.3, today I tried to use the OpenSSL version 0.9.5 and now I get this error  
when I try to connect to an SSL-Server:

--------------------------------------------------------
SSL_connect() failed: [8827:error:24064064:random number  
generator:SSLEAY_RAND_BYTES:prng not seeded:md_rand.c:476:  
8827:error:05067003:Diffie-Hellman routines:DH_generate_key:BN  
lib:dh_key.c:148: 8827:error:14098005:SSL  
routines:SSL3_SEND_CLIENT_KEY_EXCHANGE:bad asn1 object header:s3_clnt.c:1403]
--------------------------------------------------------

I changed nothing in the source code of the HTTPS-PlugIn and I compiled and  
created the framework of the OpenSSL-Lib for MacOS X and OPENSTEP 4.2/Mach the  
same way I did it for the 0.9.4 version.

I don't know why SSL_connect() fails inside the md_rand file, I assume that  
the random number generator can't generate enough random bytes, but what is the  
difference between 0.9.4 and 0.9.5? I there a new function that I must call  
before I can use the Lib? Something that initialize the random number  
generator?

Can someone help me? Any hints?

Thank you in advance....

   Juergen Moellenhoff

PS.: The OmniWeb-Browser is available here http://www.omnigroup.com/ and the  
OpenSSL-Framework (binary) for MacOS X and OPENSTEP is available here  
http://www.oic.de/software/, just for the records...
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to