Increment size limit for ClientHello messages
authorAlessandro Ghedini <alessandro@ghedini.me>
Fri, 25 Sep 2015 15:53:58 +0000 (17:53 +0200)
committerRich Salz <rsalz@openssl.org>
Sat, 14 May 2016 11:51:28 +0000 (07:51 -0400)
commit8a18bc25883bd6e6ac1268e42190250c564ba024
tree19c5f9ee5ab70cefc53a6c6d45237f287c9742fe
parentc32b9dcac2d70f3868b4b22fd7be0e5ccd854c52
Increment size limit for ClientHello messages

The current limit of 2^14 bytes is too low (e.g. RFC 5246 specifies the
maximum size of just the extensions field to be 2^16-1), and may cause
bogus failures.

RT#4063

Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/413)
ssl/statem/statem_srvr.c