Revert "Restore "Add UID parameter to authentication token""

This reverts commit 9e62f3ee11.

Reason for revert: Regression in creating auth-bound keys

Bug: 73773914

Bug: 67752510

Change-Id: Ibde9aefffbaab9b85deb95ae2fdf9e0db6d1e992
(cherry picked from commit 388ff6bb7b)
This commit is contained in:
Brian Young 2018-02-22 23:35:48 +00:00 committed by android-build-team Robot
parent 5988ea85fd
commit 8dc03f6e25
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ public:
std::vector<uint8_t> auth_token_vector(*auth_token,
(*auth_token) + *auth_token_length);
int result = 0;
auto binder_result = service->addAuthToken(auth_token_vector, uid, &result);
auto binder_result = service->addAuthToken(auth_token_vector, &result);
if (!binder_result.isOk() || !keystore::KeyStoreServiceReturnCode(result).isOk()) {
ALOGE("Failure sending auth token to KeyStore: %" PRId32, result);
}