I've set the SSL_CTX with the following mode,
SSL_MODE_AUTO_RETRY.  Doing so allows me to use
SSL_read() and SSL_write() like I would normally use a
blocking read() and write() call, right?

So when I issue the SSL_read(), it should block if
there is no data.  Seems like it is blocked, which is
expected because as far as I know, I'm not sending any
data to that socket.  But then it seems to unblock and
I get the error, "bad asn1 object header".

Might be worth mentioning that I'm listening on port
80 and 443 which may have garbage being sent to it. 
But I'd expect that if somebody tries to initiate a
non-SSL connection, the connection would fail
(SSL_accept() would fail so the connection wouldn't
even be created).

Ed

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to