]> granicus.if.org Git - curl/commit
openssl: Fix verification of server-sent legacy intermediates
authorJay Satiro <raysatiro@yahoo.com>
Sat, 30 May 2015 05:29:48 +0000 (01:29 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Mon, 8 Jun 2015 03:33:32 +0000 (23:33 -0400)
commitb8673bb9f05013eef1ae413e15ac995e9d215641
treec10e1bbccc7f637641cad560388a2072de20899b
parent8f4791440a940cbc7bd5a911ae5344b117669dcc
openssl: Fix verification of server-sent legacy intermediates

- Try building a chain using issuers in the trusted store first to avoid
problems with server-sent legacy intermediates.

Prior to this change server-sent legacy intermediates with missing
legacy issuers would cause verification to fail even if the client's CA
bundle contained a valid replacement for the intermediate and an
alternate chain could be constructed that would verify successfully.

https://rt.openssl.org/Ticket/Display.html?id=3621&user=guest&pass=guest
lib/vtls/openssl.c