]> git.ipfire.org Git - people/ms/strongswan.git/commit
tls-peer: Simplify identity check for server certificate
authorTobias Brunner <tobias@strongswan.org>
Fri, 4 Feb 2022 10:16:14 +0000 (11:16 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 15 Feb 2022 15:54:39 +0000 (16:54 +0100)
commiteccfd27f03491dd1f428d62aab939caefe10d7a4
tree8b94a157db459706f0607c60cf0f1377d40217e7
parent42704f6a615283a1d55296207400b7ee59ba955b
tls-peer: Simplify identity check for server certificate

has_subject() already matches the identity against the subject DN and
all the SANs (it actually already did when this check was added with
c81147998619 ("Strictly check if the server certificate matches the TLS
server identity")).
src/libtls/tls_peer.c