Hi All,

I have 2 questions.

1)
I'm trying to do client authentication from a Server using
PureTLS. On the server side, I call:
        socket.sendClose()
        socket.close()
when I can't verify the client's host against the certificate chain.

Now, Should SSL_connect() return an error on the client at this point?
Seems like select() is not detecting the closed socket condition also.
What's the best way to detect this condition?
I currently can't detect this condition until I attempt a SSL_write().



2)
If I attempt to do a SSL_Connect() to a port that has a non SSL server
listening, or
do a write() and readv() (non ssl)  to a port with a SSL server listening.
Both scenarios
just hangs there.

I just want to confirm this is expected behavior and what's the best way to
recover from this condition? I believe the best way to handle this is
by setting up a timer. Any better ideas?





thanks


Henry Yip



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

Reply via email to