Skip to content
Commit 50053969 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>
(cherry picked from commit 67f60be8)
parent 01b5c123
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