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>
Tue, 9 Apr 2013 14:59:47 +0000 (15:59 +0100)
commitc56f5b8edfbcec704f924870daddd96a5f768fbb
tree2cb12f032e26f20208dd6554bc6a91bbc4f6bf00
parentc6913eeb762edffddecaaba5c84909d7a7962927
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.
ssl/s3_srvr.c