Ben Laurie b3a959a337 Don't crash when processing a zero-length, TLS >= 1.1 record.
The previous CBC patch was bugged in that there was a path through enc()
in s3_pkt.c/d1_pkt.c which didn't set orig_len. orig_len would be left
at the previous value which could suggest that the packet was a
sufficient length when it wasn't.
(cherry picked from commit 6cb19b7681f600b2f165e4adc57547b097b475fd)
(cherry picked from commit 2c948c1bb218f4ae126e14fd3453d42c62b93235)

Conflicts:
	ssl/s3_enc.c
2013-02-05 16:50:33 +00:00
..
2011-05-25 15:15:43 +00:00
2012-03-07 15:14:16 +00:00
2012-03-06 13:20:20 +00:00
2012-03-12 14:50:55 +00:00
2012-03-31 18:02:23 +00:00
2010-04-14 00:17:12 +00:00
2013-02-05 16:50:32 +00:00
2013-02-05 16:50:32 +00:00
2007-01-21 16:07:25 +00:00
2013-02-05 16:50:32 +00:00
2011-02-03 12:04:48 +00:00
2013-02-05 16:50:32 +00:00
2013-02-05 16:50:33 +00:00
2012-12-10 16:45:39 +00:00
2012-10-05 12:50:24 +00:00
2010-03-30 17:31:58 +00:00
2002-07-10 07:01:54 +00:00
2010-02-16 14:19:42 +00:00
2001-11-10 01:16:28 +00:00
2013-02-05 16:50:32 +00:00
2010-03-24 23:16:35 +00:00
2012-03-12 14:50:55 +00:00
2012-10-05 13:02:31 +00:00
2013-02-05 16:50:33 +00:00
2009-09-12 23:09:59 +00:00
2010-02-01 16:48:40 +00:00
2010-01-16 19:18:31 +00:00
2010-02-22 07:05:24 +00:00
2012-03-12 14:50:55 +00:00
2013-02-05 16:50:32 +00:00
2009-12-27 23:03:40 +00:00
2009-11-08 14:51:54 +00:00