diff options
author | Brian Young <bcyoung@google.com> | 2018-02-22 23:35:48 +0000 |
---|---|---|
committer | Brian Young <bcyoung@google.com> | 2018-02-23 01:31:12 +0000 |
commit | 388ff6bb7b1fa54c9dc20532b217cd1e0a8af4c9 (patch) | |
tree | 0596abeaa323f51d278f2c5567e04242fe68ed01 | |
parent | 9e62f3ee110a57d23a7c0d05af29cc6621d5ee59 (diff) | |
download | core-388ff6bb7b1fa54c9dc20532b217cd1e0a8af4c9.tar.gz core-388ff6bb7b1fa54c9dc20532b217cd1e0a8af4c9.tar.bz2 core-388ff6bb7b1fa54c9dc20532b217cd1e0a8af4c9.zip |
Revert "Restore "Add UID parameter to authentication token""
This reverts commit 9e62f3ee110a57d23a7c0d05af29cc6621d5ee59.
Reason for revert: Regression in creating auth-bound keys
Bug: 73773914
Bug: 67752510
Change-Id: Ibde9aefffbaab9b85deb95ae2fdf9e0db6d1e992
-rw-r--r-- | gatekeeperd/gatekeeperd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gatekeeperd/gatekeeperd.cpp b/gatekeeperd/gatekeeperd.cpp index cae1e8b56..578176578 100644 --- a/gatekeeperd/gatekeeperd.cpp +++ b/gatekeeperd/gatekeeperd.cpp @@ -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); } |