Sanity check the HRR version field
authorMatt Caswell <matt@openssl.org>
Fri, 13 Oct 2017 13:36:32 +0000 (14:36 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 16 Oct 2017 14:52:19 +0000 (15:52 +0100)
commit61278ff3f952570a3ca06d02b07502069cd78f55
tree5ba2fffd9a162e12ab47beede5f4efd3608a80cf
parenta2b97bdf3dbbd255ee24aa8a74cf88d4f7034898
Sanity check the HRR version field

The previous commit removed version negotiation on an HRR. However we should
still sanity check the contents of the version field.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/4527)
ssl/statem/statem_clnt.c