]> git.ipfire.org Git - thirdparty/hostap.git/commit
TLS: Reorder certificates if needed when reading them
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 4 Aug 2011 19:39:03 +0000 (22:39 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 4 Aug 2011 19:39:03 +0000 (22:39 +0300)
commit6921f1f3860e8e3c1a6148b586a5b5bb406b6656
treee560c406f3edb5f84def23370138b3d3b536d0e3
parent628d54639a90f779fd5c98c31e049638de56b17e
TLS: Reorder certificates if needed when reading them

The internal TLS implementation assumes that the certificate chain
is ordered by issuer certificate following the certificate that it
signed. Add the certificates to the chain in suitable order when
loading multiple certificates.
src/tls/tlsv1_cred.c