tls-peer: Use private key enumeration also in TLS versions < 1.2
authorPascal Knecht <pascal.knecht@hsr.ch>
Tue, 17 Nov 2020 16:54:55 +0000 (17:54 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 12 Feb 2021 13:35:23 +0000 (14:35 +0100)
commitd41d8b00392f0c232c45072db448bed6c9b444db
tree67dbb5523059b16a5e648e49a7a8d52ab3d146cf
parentd8e42a3d4e3ca24647da8f06c38c5ddc139f1340
tls-peer: Use private key enumeration also in TLS versions < 1.2

Until now, key selection was based on tls_client_certificate_type_t and now
uses a simple mapping from these types to tls_signature_scheme_t.
src/libtls/tls_peer.c