Fix DTLS retransmission from previous session.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 20 Dec 2013 15:26:50 +0000 (15:26 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 20 Dec 2013 23:25:41 +0000 (23:25 +0000)
commit80b6d97585511931d7e5d1cbf24bd19f34d88bda
tree7234b7d7e936ac1c1fe1ef64b26ea8ebd95bebb6
parentff64ab32aef676020abb1097c2ca17cef106b9de
Fix DTLS retransmission from previous session.

For DTLS we might need to retransmit messages from the previous session
so keep a copy of write context in DTLS retransmission buffers instead
of replacing it after sending CCS. CVE-2013-6450.
(cherry picked from commit 34628967f1e65dc8f34e000f0f5518e21afbfc7b)
ssl/d1_both.c
ssl/t1_enc.c