Pull key share group/length CBB code up from tls13_key_share_public()
authorjsing <jsing@openbsd.org>
Tue, 4 Jan 2022 11:01:58 +0000 (11:01 +0000)
committerjsing <jsing@openbsd.org>
Tue, 4 Jan 2022 11:01:58 +0000 (11:01 +0000)
commit29c328861a32c7dc59b92aaa274e9308f7bc1a43
tree6df10b11d31dbb9362f286ef19c89eee7150c6d1
parent96f0087747208b297e9fe6ee57be75a285fa019b
Pull key share group/length CBB code up from tls13_key_share_public()

This provides better symmetry with the parsing code and will allow for
better reuse with the legacy stack, which has different message structures.

ok inoguchi@ tb@
lib/libssl/ssl_tlsext.c
lib/libssl/tls13_key_share.c