Skip to content
Commit 67f60be8 authored by Matt Caswell's avatar Matt Caswell
Browse files

Ensure |rwstate| is set correctly on BIO_flush



A BIO_flush call in the DTLS code was not correctly setting the |rwstate|
variable to SSL_WRITING. This means that SSL_get_error() will not return
SSL_ERROR_WANT_WRITE in the event of an IO retry.

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
parent 2ad226e8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment