Fix IV check and padding removal.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 7 Feb 2013 21:06:37 +0000 (21:06 +0000)
committerAndy Polyakov <appro@openssl.org>
Fri, 8 Feb 2013 09:40:39 +0000 (10:40 +0100)
commitb7355af4216305d62e167bc867989192ed3465ad
tree64cbd3fddb1f794f59b3c4cbcf5643520a8160e9
parent0462eedf5ee2273647010955a92d962ce109c6af
Fix IV check and padding removal.

Fix the calculation that checks there is enough room in a record
after removing padding and optional explicit IV. (by Steve)

For AEAD remove the correct number of padding bytes (by Andy)
(cherry picked from commit 32cc2479b473c49ce869e57fded7e9a77b695c0d)
ssl/s3_cbc.c