Use tls_choose_sigalg for client auth.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 15 Feb 2017 16:23:49 +0000 (16:23 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 16 Feb 2017 16:43:44 +0000 (16:43 +0000)
commitad4dd362e036b8481d51e1bfc6e9322b6cf074dc
tree2481f0f1db2e133c493306b2155c9cdf55b34b83
parent717a265aa5f618fb30f857f240f6b2b0ab7ad4c7
Use tls_choose_sigalg for client auth.

For client auth call tls_choose_sigalg to select the certificate
and signature algorithm. Use the selected algorithm in
tls_construct_cert_verify.

Remove obsolete tls12_get_sigandhash.

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