summaryrefslogtreecommitdiffstats
path: root/keymaster
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
commit1b26b1170c277abb95570680df0f67c0379e1182 (patch)
tree27b0058f86a4e4b0f10d1b233cc22e54779c6ca2 /keymaster
parentd4d788c3e77668d43d7683dba8dfc192ce144274 (diff)
downloaddevice_samsung_tuna-1b26b1170c277abb95570680df0f67c0379e1182.zip
device_samsung_tuna-1b26b1170c277abb95570680df0f67c0379e1182.tar.gz
device_samsung_tuna-1b26b1170c277abb95570680df0f67c0379e1182.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
Diffstat (limited to 'keymaster')
-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) {