On Sun, Aug 19, 2001 at 10:27:52AM -0700, chirs charter wrote:
> Thanks for your replay Lutz. I do have a /dev/unrandom
> though which is a link to /dev/random and I see a
> prescence of a /.rnd file doesnt this mean that
> openssl is starting up correctly ? Also can you tell

The link does help for the first steps. On the long run you may run
into trouble, as /dev/random may block when exhausted and thus
all starting processes requiring entropy will also block.
/.rnd is only used by the "openssl" command line tools.

> me how to add add RAND_egd("/path/to/egd-socket"); to
> the beginning of an application in my case IMAP? i.e
> what is the procedure for doing this?

Add it to the source code and recompile :-)
I do use UW-imapd and I added it to src/osdeb/unix/ssl_unix.c,
directly after SSLeay_add_ssl_algorithms().
If you use another imap software, look out for SSLeay_add_ssl_algorithms(),
OpenSSL_add_ssl_algorithms() or SSL_library_init() (they all are synonyms)
and add RAND_egd("/path/to/your/egd-socket"); just behind it and recompile.

Best regards,
        Lutz
-- 
Lutz Jaenicke                             [EMAIL PROTECTED]
BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to