Subject: Re: problem with 1.5.1_ALPHA & openssl
To: Manuel Bouyer <>
From: Jason R Thorpe <>
List: current-users
Date: 03/21/2001 13:09:03
On Wed, Mar 21, 2001 at 07:44:02PM +0100, Manuel Bouyer wrote:

 > I have a problem with openssl on 1.5.1_ALPHA:
 > when I try to generata a RSA key:
 > openssl genrsa -out /usr/pkg/etc/httpd/ssl.key/server.key 1024
 > it looks and seems to never terminate. Ktrace shows that it loops reading
 > data from /dev/urandom; each read returns 4088 bytes.
 > Systems spends more than 98 CPU time in kernel.

There is a problem with the "random seed file" code in OpenSSL; I have
a quick hack fix, which causes another problem.

I'm going to have another look when I get back from IETF, and see if I
can squash the problem for real.

        -- Jason R. Thorpe <>