Factor out the legacy stack version checks.
authorjsing <jsing@openbsd.org>
Sun, 7 Feb 2021 15:04:10 +0000 (15:04 +0000)
committerjsing <jsing@openbsd.org>
Sun, 7 Feb 2021 15:04:10 +0000 (15:04 +0000)
commitb81375cc4fbad88a54ed47f4efafc0802c58445f
tree3d2fd6fe562638804692970c239e47efaadd32be
parent8420b9099f4b3bbd741ef40aed330992767fe62e
Factor out the legacy stack version checks.

Also check for explicit version numbers, rather than just the major version
value.

ok tb@
lib/libssl/ssl_clnt.c
lib/libssl/ssl_locl.h
lib/libssl/ssl_srvr.c
lib/libssl/ssl_versions.c