diff options
author | Chad Brubaker <cbrubaker@google.com> | 2016-07-07 10:17:24 -0700 |
---|---|---|
committer | Chad Brubaker <cbrubaker@google.com> | 2016-09-02 13:15:39 -0700 |
commit | 01e9682cab6a554e5e83bb98db7d81691e0a2ca7 (patch) | |
tree | 902925856154e8909015e96b30085147edb5c0f2 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions