Sanity check cookie_len
authorMatt Caswell <matt@openssl.org>
Wed, 23 Sep 2015 11:57:34 +0000 (12:57 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 23 Sep 2015 12:53:27 +0000 (13:53 +0100)
commit373dc6e196835c06f31ff34cd188471f296126c1
tree53abd0fdca88991b382a0d95351283943ff5a738
parent468f043ece0e7e262ee6166ae6ec1f7683d82220
Sanity check cookie_len

Add a sanity check that the cookie_len returned by app_gen_cookie_cb is
valid.

Reviewed-by: Andy Polyakov <appro@openssl.org>
ssl/d1_lib.c
ssl/d1_srvr.c