Change ssl_sigalgs_from_value() to perform sigalg list selection.
authorjsing <jsing@openbsd.org>
Sun, 27 Jun 2021 18:15:35 +0000 (18:15 +0000)
committerjsing <jsing@openbsd.org>
Sun, 27 Jun 2021 18:15:35 +0000 (18:15 +0000)
commitd2a2fa5f1add6cc85c91d17d424e301a7e2094ad
treeea9180577d8cc57472cf9a82d5a27729a8ec914d
parent36e555953394bc94455dcf09b8e1cff259a0637c
Change ssl_sigalgs_from_value() to perform sigalg list selection.

Rather that passing in a sigalg list at every call site, pass in the
appropriate TLS version and have ssl_sigalgs_from_value() perform the
sigalg list selection itself. This allows the sigalg lists to be made
internal to the sigalgs code.

ok tb@
lib/libssl/ssl_clnt.c
lib/libssl/ssl_sigalgs.c
lib/libssl/ssl_sigalgs.h
lib/libssl/ssl_srvr.c
lib/libssl/tls13_client.c
lib/libssl/tls13_server.c