The fix for PR#1949 unfortunately broke cases where the BIO_CTRL_WPENDING
authorDr. Stephen Henson <steve@openssl.org>
Sun, 24 Jan 2010 13:54:20 +0000 (13:54 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 24 Jan 2010 13:54:20 +0000 (13:54 +0000)
commit21a5c040e5398b7d4ec374168815f88c94a102d6
tree38ef214041518b78aa996de74a21a12d6fea267a
parentba64ae6cd13182f4f1d99beed8274e17bf8a92b7
The fix for PR#1949 unfortunately broke cases where the BIO_CTRL_WPENDING
ctrl is incorrectly implemented (e.g. some versions of Apache). As a workaround
call both BIO_CTRL_INFO and BIO_CTRL_WPENDING if it returns zero. This should
both address the original bug and retain compatibility with the old behaviour.
ssl/s3_srvr.c