commit | d257538507d65dae23e39e8cf94bda255d1e1c65 | [log] [tgz] |
---|---|---|
author | Janis Danisevskis <jdanis@google.com> | Mon Oct 08 07:56:58 2018 -0700 |
committer | Janis Danisevskis <jdanis@google.com> | Thu Nov 08 12:53:57 2018 -0800 |
tree | 8f0441916aa276eba8196f5ba4fdab2ef561de6f | |
parent | 1864c95616d515782d489f70a2009f87bbe528e6 [diff] |
Add return code KEY_ALREADY exists In preparation to the async keystore interface we change the semantics form unconditionally overwriting existing keys to reporting that the key exists. For compatibility we reimplement the same semantic in the calling code. Bug: 111443219 Test: KeyStore CTS test Change-Id: I1fa5428fa7ada97d5068778cd4590593c992554d