Update from 0.9.8-stable.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 26 Jun 2009 15:03:35 +0000 (15:03 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 26 Jun 2009 15:03:35 +0000 (15:03 +0000)
ssl/s3_srvr.c

index 01a84e6f76d89da876128479ccd91657ea1cd5cb..6c1751a9054505f75c08ae1825e263ac7118c3c6 100644 (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;