Commit Graph

3 Commits

Author SHA1 Message Date
f4e4b93cbb [external/conscrypt] Prevent duplicate certificates in TrustedCertificateIndex
With the separate caching of intermediate certificates in
TrustManagerImpl a given intermediate may be passed into .index multiple
times. Avoid adding the certificate to the list each time.

(cherry-picked from commit d080e064abba665e2dde2a8c113f837ba4d9a85e)
Bug: 26232830
Change-Id: I6bed2c65d9e42e052b9b1b129200a997e7dca745
(cherry picked from commit 4c9f9c2201116acf790fca25af43995d29980ee0)
2016-05-23 20:15:57 +08:00
3c6c8f1953 [external/conscrypt] Cache intermediate CA separately
Intermediate CAs are cached in order to support servers that fail to
sent a complete chain to a root. These certificates should be cached to
support these servers but these certificates must not be trusted as
trust anchors. Store them separately to prevent confusion between
trusted roots and cached intermediates.

(cherry-picked from commit 198aca1fb638a2a98e89fb9f284108ad576d0c3b)
Bug: 26232830
Change-Id: I520f50729b55fc7412c7d133335bc9e3c190bbf6
(cherry picked from commit c4ab1b959280413fb11bf4fd7f6b4c2ba38bd779)
2016-05-23 20:15:50 +08:00
93013a6efc Commit of manifest rk312x_android5.1_rel_v1.02_0423.xml 2015-05-20 17:06:22 +08:00