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 01a84e6..6c1751a 100644 (file)
@@ -472,7 +472,7 @@ int ssl3_accept(SSL *s)
                
                case SSL3_ST_SW_FLUSH:
                        /* number of bytes to be flushed */
                
                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;
                        if (num1 > 0)
                                {
                                s->rwstate=SSL_WRITING;