Pull up the parsing of a ClientHello.
authorjsing <jsing@openbsd.org>
Fri, 24 Aug 2018 17:44:22 +0000 (17:44 +0000)
committerjsing <jsing@openbsd.org>
Fri, 24 Aug 2018 17:44:22 +0000 (17:44 +0000)
commit5a15326f4fac974563e5a799f0a34a31f8de6b54
treec5a960d9ae7ca91873c06ffdd1cfb12e982d8498
parent484277c79dd4ad9c661cdeb8515419a97690dc97
Pull up the parsing of a ClientHello.

Parse up until the extensions (if any), then proceed with processing,
rather than gradually parsing while processing. This makes the code
cleaner, requires messages to be valid before processing and makes way
for upcoming changes.

ok inoguchi@ tb@
lib/libssl/ssl_srvr.c