tls-crypto: Share private key search between client and server
authorPascal Knecht <pascal.knecht@hsr.ch>
Tue, 10 Nov 2020 09:22:12 +0000 (10:22 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 12 Feb 2021 13:35:23 +0000 (14:35 +0100)
commitd8e42a3d4e3ca24647da8f06c38c5ddc139f1340
tree5fbde3cbe499ed4126b5238b4fc68b284c385b0d
parent299cc800949c7d0c33dff577e7ecc52bb9939156
tls-crypto: Share private key search between client and server

This way the client also properly considers the TLS version and the signature
schemes supported by the server.

Co-authored-by: Tobias Brunner <tobias@strongswan.org>
src/libtls/tls_crypto.c
src/libtls/tls_crypto.h
src/libtls/tls_peer.c
src/libtls/tls_server.c