diff --git a/ssl/d1_srvr.c b/ssl/d1_srvr.c index e18d878c4..efff45bf5 100644 --- a/ssl/d1_srvr.c +++ b/ssl/d1_srvr.c @@ -440,7 +440,7 @@ int dtls1_accept(SSL *s) 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) {