In the fix for #1949 was a typo which breaks DTLS and results in an infinite 
loop. The state SSL3_ST_CW_FLUSH is for the client and the server needs 
SSL3_ST_SW_FLUSH. Here's a patch to fix that:


--- ssl/d1_srvr.c       26 Jan 2010 19:40:36 -0000      1.2.2.27
+++ ssl/d1_srvr.c       31 Jan 2010 18:50:09 -0000
@@ -440,7 +440,7 @@
                        s->init_num=0;
                        break;
                
-               case SSL3_ST_CW_FLUSH:
+               case SSL3_ST_SW_FLUSH:
                        s->rwstate=SSL_WRITING;
                        if (BIO_flush(s->wbio) <= 0)
                                {


Regards,
Robin
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to