Simplify tls_construct_server_key_exchange
authorDr. Stephen Henson <steve@openssl.org>
Mon, 13 Feb 2017 18:07:00 +0000 (18:07 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 15 Feb 2017 02:23:54 +0000 (02:23 +0000)
commitf695571e10a3e63930424940acc8dafd13c6c35c
tree2ae6a87403cd62f21cee4746aeadca58418d95b7
parentf365a3e2e552e36f5c885953f5a361267f0d06c6
Simplify tls_construct_server_key_exchange

Use negotiated signature algorithm and certificate index in
tls_construct_key_exchange instead of recalculating it.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2623)
ssl/statem/statem_srvr.c