summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndres Morales <anmorales@google.com>2015-04-13 09:24:14 -0700
committerAndres Morales <anmorales@google.com>2015-04-13 09:38:07 -0700
commit1690089cc886a8cb72c7fd3a86a75899241d8263 (patch)
treea5faaa115d80a6c5daf8f24eaeec7a3935713025
parent368a1f93381584fdd9ae0d59748cce5e4160acfb (diff)
downloadandroid_system_security-1690089cc886a8cb72c7fd3a86a75899241d8263.tar.gz
android_system_security-1690089cc886a8cb72c7fd3a86a75899241d8263.tar.bz2
android_system_security-1690089cc886a8cb72c7fd3a86a75899241d8263.zip
Fix addAuthToken api
A binder token is not written thus cannot be read Change-Id: Id44acf3e7001f2b027041ef8c7c324e687ab0fcd
-rw-r--r--keystore/IKeystoreService.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/keystore/IKeystoreService.cpp b/keystore/IKeystoreService.cpp
index d3cec50..d58f5ec 100644
--- a/keystore/IKeystoreService.cpp
+++ b/keystore/IKeystoreService.cpp
@@ -1774,7 +1774,6 @@ status_t BnKeystoreService::onTransact(
}
case ADD_AUTH_TOKEN: {
CHECK_INTERFACE(IKeystoreService, data, reply);
- sp<IBinder> token = data.readStrongBinder();
const uint8_t* token_bytes = NULL;
size_t size = 0;
readByteArray(data, &token_bytes, &size);