Use appropriate TLS version when building client sigalg extensions.
authorjsing <jsing@openbsd.org>
Tue, 29 Jun 2021 19:31:16 +0000 (19:31 +0000)
committerjsing <jsing@openbsd.org>
Tue, 29 Jun 2021 19:31:16 +0000 (19:31 +0000)
commitb38981f572fe97feae7bcd146b5ab22cbc180d7d
tree829ba245ed64d5ef6736f3cd57177200ee5f0c47
parent468bde535c47957d2ffd881f2cfb3818d12024d1
Use appropriate TLS version when building client sigalg extensions.

Only use the minimum TLS version to when building a signature algorithms
extension for a ClientHello - in all other cases we should be using the
negotiated TLS version.

ok inoguchi@ tb@
lib/libssl/ssl_tlsext.c