Hi Viktor, On Oct 9, 2013, at 9:16 PM, Viktor Dukhovni <openssl-us...@dukhovni.org> wrote:
> On Wed, Oct 09, 2013 at 07:54:34PM -0700, Jeremy Friesner wrote: > >> If you're interested in trying to reproduce the fault yourself, >> let me know and I can upload the code I'm testing with. > > Are you using SSL_pending(), BIO_pending() or anything similar > anywhere in your code? Yes, I call SSL_pending() to see if there is data to available for me to read (since select()-ing for ready-to-read on the socket isn't quite sufficient). > With SSL sessions created via SSLv23_method(), use of this primitive > will lead to the failure in question when invoked before the SSL > session has switched to SSLv3, TLSv1, … Aha! Yes, that appears to be my problem. As a simple workaround, I changed my code to call SSLv3_method() instead, and now everything is working perfectly. Thanks so much for your help! :^) Jeremy ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org