Commit 9fa50668 authored by Matt Caswell's avatar Matt Caswell
Browse files

Ensure we are in accept state in DTLSv1_listen



Calling SSL_set_accept_state() after DTLSv1_listen() clears the state, so
SSL_accept() no longer works. In 1.0.2 calling DTLSv1_listen() would set
the accept state automatically. We should still do that.

Fixes #1989

Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
(cherry picked from commit 5bdcd362)
parent cbc8a839
Supports Markdown
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