> You really have lost me now!

On UnixWare unix-domain sockets, like the one used for communication
with prngd or egd, look like named pipes:

$ ls -l /u/local/var/entropy 
prw-rw-rw-    1 root  sys     0 Feb  2 16:39 /u/local/var/entropy

Crazy.

When you "connect" to the socket it doesn't use the pipe file at all,
it just uses its name.

However openssl, after successfuly reading the data from the socket
then tries to read from the pipe.  This hangs as nobody has the pipe
open (as a pipe).

i.e. openssl does:

        connect (/u/local/var/entropy);  -- this works.
        send (...);
        recv (...);
        close ();

        open (/u/local/var/entropy); -- this hangs!

This is all incredibly stupid.

-- 
John Hughes <[EMAIL PROTECTED]>, 
        CalvaEDI SA.                            Tel: +33-1-4313-3131
        66 rue du Moulin de la Pointe,          Fax: +33-1-4313-3139
        75013 PARIS.

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

Reply via email to