Update from 0.9.8-stable.

This commit is contained in:
Dr. Stephen Henson 2009-06-26 15:04:22 +00:00
parent 710c1c34d1
commit 887c250852

View File

@ -472,7 +472,7 @@ int ssl3_accept(SSL *s)
case SSL3_ST_SW_FLUSH:
/* number of bytes to be flushed */
num1=BIO_ctrl(s->wbio,BIO_CTRL_INFO,0,NULL);
num1=BIO_ctrl(s->wbio,BIO_CTRL_WPENDING,0,NULL);
if (num1 > 0)
{
s->rwstate=SSL_WRITING;