Complete the TLS extension rewrite on the client-side.
authorjsing <jsing@openbsd.org>
Thu, 8 Feb 2018 11:30:30 +0000 (11:30 +0000)
committerjsing <jsing@openbsd.org>
Thu, 8 Feb 2018 11:30:30 +0000 (11:30 +0000)
commit28c1d79cf7ebbbc6df45954e31984d9c5f00135a
treebc978e07fbe032ad6d9185d70f75f50292920f13
parentb5fffbbb0c3dd362a4db35f535cd792c8ed8cbc8
Complete the TLS extension rewrite on the client-side.

The RI logic gets pulled up into ssl3_get_server_hello() and
ssl_parse_serverhello_tlsext() gets replaced by tlsext_client_parse(),
which allows a CBS to be passed all the way down.

This also deduplicates the tlsext_client_build() and tlsext_server_build()
code.

ok beck@
lib/libssl/ssl_clnt.c
lib/libssl/ssl_tlsext.c
lib/libssl/ssl_tlsext.h
lib/libssl/t1_lib.c