Use cert_index and sigalg
authorDr. Stephen Henson <steve@openssl.org>
Mon, 13 Feb 2017 16:32:06 +0000 (16:32 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 15 Feb 2017 02:23:54 +0000 (02:23 +0000)
commitf365a3e2e552e36f5c885953f5a361267f0d06c6
tree04f1ecc586a4d91779bb9c26664bcec3388aca3b
parent0972bc5cedfb3c8dcf7eae3ab010ed3b47a6f186
Use cert_index and sigalg

Now the certificate and signature algorithm is set in one place we
can use it directly insetad of recalculating it. The old functions
ssl_get_server_send_pkey() and ssl_get_server_cert_index() are no
longer required.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2623)
ssl/s3_lib.c
ssl/ssl_lib.c
ssl/ssl_locl.h
ssl/statem/statem_clnt.c
ssl/statem/statem_lib.c
ssl/statem/statem_srvr.c
ssl/t1_lib.c