summaryrefslogtreecommitdiffstats
path: root/crypto/bn
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-05-06 11:40:06 +0100
committerMatt Caswell <matt@openssl.org>2015-06-04 09:16:55 +0100
commitaf3aa2b5ef741a35394c92872cbdbab4d46b9c90 (patch)
tree43143f808f2fef3766c987132470c8817868a3cb /crypto/bn
parentadba3b3bf1e82b9fe38c986baa7d3c9366a81fab (diff)
Fix DTLS session resumption
The session object on the client side is initially created during construction of the ClientHello. If the client is DTLS1.2 capable then it will store 1.2 as the version for the session. However if the server is only DTLS1.0 capable then when the ServerHello comes back the client switches to using DTLS1.0 from then on. However the session version does not get updated. Therefore when the client attempts to resume that session the server throws an alert because of an incorrect protocol version. Reviewed-by: Tim Hudson <tjh@openssl.org> (cherry picked from commit 7322abf5cefdeb47c7d61f3b916c428bf2cd69b6) Conflicts: ssl/s3_clnt.c
Diffstat (limited to 'crypto/bn')
0 files changed, 0 insertions, 0 deletions