summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2012-04-30 15:45:44 -0700
committerKenny Root <kroot@google.com>2012-04-30 15:45:47 -0700
commit90d9cc5b25f6684963bbbd1104b103786401dde6 (patch)
tree7cd9e83a630f81225abc352f4253919998f09dcf
parentee56ff7b992be6e686b65629ab3bd4709cc6a337 (diff)
downloaddevice_samsung_tuna-90d9cc5b25f6684963bbbd1104b103786401dde6.zip
device_samsung_tuna-90d9cc5b25f6684963bbbd1104b103786401dde6.tar.gz
device_samsung_tuna-90d9cc5b25f6684963bbbd1104b103786401dde6.tar.bz2
keymaster: set delete_all to NULL
The tests call delete_all if it isn't set to NULL. Set it to NULL explicitly so we don't have a test failure. Change-Id: I5eae54356d3c305733daa9b291273f0ff783338c
-rw-r--r--keymaster/keymaster_tuna.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/keymaster/keymaster_tuna.cpp b/keymaster/keymaster_tuna.cpp
index fbc654f..15c56f2 100644
--- a/keymaster/keymaster_tuna.cpp
+++ b/keymaster/keymaster_tuna.cpp
@@ -903,6 +903,7 @@ static int tee_open(const hw_module_t* module, const char* name,
dev->delete_keypair = tee_delete_keypair;
dev->sign_data = tee_sign_data;
dev->verify_data = tee_verify_data;
+ dev->delete_all = NULL;
CK_RV initializeRV = C_Initialize(NULL);
if (initializeRV != CKR_OK) {