The fix for PR#1949 unfortunately broke cases where the BIO_CTRL_WPENDING
authorDr. Stephen Henson <steve@openssl.org>
Sun, 24 Jan 2010 13:50:57 +0000 (13:50 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 24 Jan 2010 13:50:57 +0000 (13:50 +0000)
commit5598b99fb324ab97e5ea196d5eacddaed0e054c6
tree434f3e44c4630f42aa9cd4806712f1979084e539
parent6899d9bbf60469c1d16c9f72d2ef0f835f0e7caf
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.
apps/s_server.c
ssl/s3_pkt.c
ssl/s3_srvr.c