Always return errors in ssl3_get_client_hello
authorDr. Stephen Henson <steve@openssl.org>
Tue, 9 Apr 2013 14:53:38 +0000 (15:53 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 18 Sep 2013 12:46:02 +0000 (13:46 +0100)
commitc391a74266f70d2be4c2dd8d1e02cbd6f6e72605
tree871996fe7c0bb325582f64bf578abd1e5b6de773
parent65a87d3cc3c21bb54e6e813ee21ad049fea1310a
Always return errors in ssl3_get_client_hello

If we successfully match a cookie don't set return value to 2 as this
results in other error conditions returning 2 as well.

Instead set return value to -2 which can be checked later if everything
else is OK.
(cherry picked from commit c56f5b8edfbcec704f924870daddd96a5f768fbb)
ssl/s3_srvr.c