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 10:49:41 +0000 (11:49 +0100)
commit59b1129e0a50fdf7e4e58d7c355783a7bfc1f44c
tree6a1e60c98fc198b16ef8b55aceeca3d3d3b3506d
parentfb092ef4fca897344daf7189526f5f26be6487ce
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 be125aa5bae0b6baac526890c835e10378b6df74)
ssl/s3_cbc.c