Add function tls_choose_sigalg().
authorDr. Stephen Henson <steve@openssl.org>
Tue, 31 Jan 2017 17:45:00 +0000 (17:45 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 2 Feb 2017 14:45:09 +0000 (14:45 +0000)
commit93a77f9e2c66a4e63f732bb0d04695b4f951febb
treefad21aa7fa87b37951735d67503b18fdbcb68c73
parent3f4bf115a1bc0391cba75d30f6c1941edc88f926
Add function tls_choose_sigalg().

New function tls_choose_sigalg(). This is a signature algorithm version
of ssl3_choose_cipher(): it picks and sets the appropriate signature
algorithm and certificate based on shared signature algorithms.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2339)
ssl/ssl_locl.h
ssl/t1_lib.c