Correct TLS extensions handling when no extensions are present.
authorjsing <jsing@openbsd.org>
Tue, 28 Nov 2017 16:46:14 +0000 (16:46 +0000)
committerjsing <jsing@openbsd.org>
Tue, 28 Nov 2017 16:46:14 +0000 (16:46 +0000)
commitd10a75c6ebdde4304e68a9cbd73f037b3fb0d8fb
tree6ece843cd05110f5fdf3ea044b922bca67458101
parent06f20aca487b130ca9f9e87052ec1d314d912368
Correct TLS extensions handling when no extensions are present.

If no TLS extensions are present in a client hello or server hello, omit
the entire extensions block, rather than including it with a length of
zero.

ok beck@ inoguchi@
lib/libssl/ssl_tlsext.c