Update DTLS code to match CBC decoding in TLS.
authorBen Laurie <ben@links.org>
Mon, 28 Jan 2013 17:34:33 +0000 (17:34 +0000)
committerBen Laurie <ben@links.org>
Wed, 30 Jan 2013 17:03:33 +0000 (17:03 +0000)
commit70a96283e2b4497b2a11f62caeec31b4d9c85954
treebea1a0453ea25cd12e56696a65ddcec05cd2fe9d
parente7066f7cd7d314ac263a3dc9911bca9c9817db2c
Update DTLS code to match CBC decoding in TLS.

This change updates the DTLS code to match the constant-time CBC
behaviour in the TLS.
(cherry picked from commit 9f27de170d1b7bef3d46d41382dc4dafde8b3900)
(cherry picked from commit 5e4ca556e970edb8a7f364fcb6ee6818a965a60b)

Conflicts:
ssl/d1_enc.c
ssl/d1_pkt.c
ssl/s3_pkt.c
ssl/d1_enc.c
ssl/d1_pkt.c
ssl/s3_enc.c
ssl/s3_pkt.c
ssl/t1_enc.c