commit | 01e9682cab6a554e5e83bb98db7d81691e0a2ca7 | [log] [tgz] |
---|---|---|
author | Chad Brubaker <cbrubaker@google.com> | Thu Jul 07 10:17:24 2016 -0700 |
committer | Chad Brubaker <cbrubaker@google.com> | Fri Sep 02 13:15:39 2016 -0700 |
tree | 902925856154e8909015e96b30085147edb5c0f2 | |
parent | 3c75a0380d255cd594b5999b7bc8c32ab8811d02 [diff] |
Avoid NPE on certificates that cannot be read Skip certificates in a DirectoryCertificateSource that cannot be read to due IOExceptions or CertificateExceptions, this prevents a NPE but connections will still fail due to the certificate being unusable and no valid trust-anchor existing. This also logs the error since this really shouldn't happen. Bug: 29997695 Change-Id: I9f7327efc302a259fb951f1f61f7fc4d647821fa