Generate the key_shares extension on the client side
authorMatt Caswell <matt@openssl.org>
Mon, 31 Oct 2016 14:49:52 +0000 (14:49 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 16 Nov 2016 10:09:45 +0000 (10:09 +0000)
commitd2c27a28c068188c1bda5109d228d94f868d06af
tree625c31def43b684fabe018d6c166c13add652c3d
parent78e09b53a40729f5e99829ccc733b592bd22fea1
Generate the key_shares extension on the client side

In this commit we just generate the extension on the client side, but don't
yet do anything with it. Subsequent commits, will add the server side
capability.

At the moment we hard code a single key_share. In the future we should make
this configurable.

Reviewed-by: Rich Salz <rsalz@openssl.org>
include/openssl/tls1.h
ssl/t1_lib.c