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:07 +0000 (13:54 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 24 Jan 2010 13:54:07 +0000 (13:54 +0000)
commitef1b6b2cf26715a2da8ab502b10b0b0dce9d31ac
tree691caf3ece4d1f0098b00283b98f5c27f8a6a5e5
parent1699389a4691ea94455ac73fda58b8be9c1f7708
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