summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/cmd_utils.py
diff options
context:
space:
mode:
authorMax Bires <jbires@google.com>2019-03-06 14:18:07 -0800
committerMax Bires <jbires@google.com>2019-03-07 18:19:29 +0000
commitbeae8c67dc15cb084dfbde488db9b2f1dd348683 (patch)
tree4f998ef10cf06aa53b3583b98668d252229aa64f /startop/scripts/lib/cmd_utils.py
parent18cccec6245bee1073be460e37b74738e6f344e4 (diff)
Fixing engineGetCertificateChain exception
If a certificate is self signed, then currently KeyStore will still attempt to find the CA certificate. When it obviously fails to find it, a key not found exception is propagated up and thrown. This CL suppresses that exception, as it seems to exclusively be thrown in this condition, which is WAI. Having the stack trace show up can be very misleading to developers. Test: atest cts/tests/tests/keystore/src/android/keystore/cts Change-Id: I192f54d3d8355c183e830ab09314932e8800f7ed
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions