Factor out handling of legacy default signature algorithms.
authorjsing <jsing@openbsd.org>
Tue, 29 Jun 2021 18:59:25 +0000 (18:59 +0000)
committerjsing <jsing@openbsd.org>
Tue, 29 Jun 2021 18:59:25 +0000 (18:59 +0000)
commitca7ca9085f4d708728d31588c33c108c19a51cae
tree8eca0cd08365536b7f1f57c73e04348fa8f77cbc
parentef6df8b9b48461a08b06d6e95ddca4fd076dfc10
Factor out handling of legacy default signature algorithms.

In the case of TLSv1.0 and TLSv1.1 there is no signature algorithms
extension and default signature algorithms are used - similar applies to
TLSv1.2 when the signature algorithms extension has been omitted.

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