Move the RSA-PSS check for TLSv1.3 to ssl_sigalg_pkey_ok().
authorjsing <jsing@openbsd.org>
Tue, 29 Jun 2021 19:10:08 +0000 (19:10 +0000)
committerjsing <jsing@openbsd.org>
Tue, 29 Jun 2021 19:10:08 +0000 (19:10 +0000)
commit9bba4ac007f30de700f3ce64cb74f9eb55b76e07
treeba443db88e3716c82fe42e81c6a52758a058620e
parentca7ca9085f4d708728d31588c33c108c19a51cae
Move the RSA-PSS check for TLSv1.3 to ssl_sigalg_pkey_ok().

Also, rather than passing in a check_curve flag, pass in the SSL * and
handle version checks internally to ssl_sigalg_pkey_ok(), simplifying
the callers.

ok inoguchi@ 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