]> git.ipfire.org Git - people/ms/strongswan.git/commit
tls-server: Use correct error alerts if client doesn't send a certificate
authorTobias Brunner <tobias@strongswan.org>
Tue, 1 Mar 2022 09:05:26 +0000 (10:05 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 1 Mar 2022 09:05:26 +0000 (10:05 +0100)
commit2ade4311bc8a606d9a0094428cdbfbb75762a68d
tree030fb64eef64943311463e0c0f0c8cbcfda67e64
parent3eecd40cec6415fc033f8d9141ab652047e71524
tls-server: Use correct error alerts if client doesn't send a certificate

TLS 1.3 defines a specific alert for this and for TLS 1.2, RFC 5246,
section 7.4.6 defines handshake_failure as correct response.
src/libtls/tls_server.c