diff options
author | Alex Klyubin <klyubin@google.com> | 2015-06-23 10:54:44 -0700 |
---|---|---|
committer | Alex Klyubin <klyubin@google.com> | 2015-06-23 10:54:44 -0700 |
commit | 856aebe571e2efe332c1258b3131bfbae6f4b396 (patch) | |
tree | 7a3f0d80f8d0fd21ba1390a401af1bd6e26496bd /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6d2268a57603e1c60329b93fb853ac2c134cb932 (diff) |
Don't fail if self-signed certificate can't be signed.
This makes Android Keystore's KeyPairGenerator fall back to generating
a self-signed certificate with an invalid/fake signature when the
attempt to generate a self-signed certificate with a valid signature
fails.
There is a growing number of reasons/authorizations due to which the
generated private key cannot be used to sign the self-signed
certificate. It's safer for KeyPairGenerator to succeed than to fail.
Bug: 22033161
Change-Id: I1ecbd421346166bfd536b5cfbaea169b11f0b1c8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions