Skip to content
Commit 1ed65871 authored by David Benjamin's avatar David Benjamin Committed by Kurt Roeckx
Browse files

Resolve DTLS cookie and version before session resumption.



Session resumption involves a version check, so version negotiation must
happen first. Currently, the DTLS implementation cannot do session
resumption in DTLS 1.0 because the ssl_version check always checks
against 1.2.

Switching the order also removes the need to fixup ssl_version in DTLS
version negotiation.

Signed-off-by: default avatarKurt Roeckx <kurt@roeckx.be>
Reviewed-by: default avatarViktor Dukhovni <viktor@openssl.org>

RT: #4392, MR: #2452
parent 71ccf961
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