Tighten up client status_request processing
authorBenjamin Kaduk <bkaduk@akamai.com>
Tue, 14 Mar 2017 23:57:43 +0000 (18:57 -0500)
committerMatt Caswell <matt@openssl.org>
Wed, 15 Mar 2017 20:44:57 +0000 (20:44 +0000)
commitd9aea0416249bf7fb2dd330dd9dde825ac5e4b94
tree110057d3f4e60e4301e4f5ff9cb2aeccb1f1cd1e
parent26721d3212daece42091629e5205deeda2e4eca3
Tighten up client status_request processing

Instead of making a positive comparison against the invalid value
that our server would send, make a negative check against the only
value that is not an error.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2953)
ssl/statem/extensions_clnt.c