commit | b77dbe37c10d9508275a8021ee7a99c10e0e1612 | [log] [tgz] |
---|---|---|
author | Janis Danisevskis <jdanis@google.com> | Wed Mar 22 10:28:24 2017 -0700 |
committer | Janis Danisevskis <jdanis@google.com> | Wed Mar 22 10:46:41 2017 -0700 |
tree | f46f6fd5c71510e49979d977fa8c4c3cea36700b | |
parent | a43c1d3160a8b1d7e66c6eb6a14c8cf2fd062d9f [diff] |
Check for unimplemented keymaster function delete_key delete_key is optional and may not be implemented by a legacy hal. So the function pointer must be checked for nullptr prior to being used. Bug: 36500704 Test: run VTS tests with legacy hal that does not implement delete_key Change-Id: Ie51dd173314826ef260319153c7df96d88b8a42f