Provide a key_share extension finaliser
authorMatt Caswell <matt@openssl.org>
Wed, 18 Jan 2017 11:31:37 +0000 (11:31 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 30 Jan 2017 10:18:20 +0000 (10:18 +0000)
commitf4bbb37c4c95ea8cdb4b3470098a1b5d7d1977ed
tree92ec8b6c8c0c59507b74ecb90834701b1a1bf7f9
parent4ff65f77b62df12ad75ec232b38627c5fe131041
Provide a key_share extension finaliser

This mops up various edge cases with key_shares and makes sure we still
generate the handshake secret if we haven't been provided with one but we
have a PSK.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2259)
include/openssl/ssl.h
ssl/ssl_err.c
ssl/statem/extensions.c
ssl/statem/extensions_srvr.c
ssl/statem/statem_srvr.c