summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-06-21 07:34:31 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-06-21 07:34:31 +0000
commit259b6fb0df03cc31100c16a6be34554a44471c55 (patch)
treeb9d4d5ace0be13349ad5ff00ab412f1371ad2139
parent252cdfee24a1371c2551e945168ea2d987eda2db (diff)
parent0143be76b9c54df1333d12c0b5cc8cd8cedf47c3 (diff)
downloadsecurity-259b6fb0df03cc31100c16a6be34554a44471c55.tar.gz
release-request-d1418208-3b0b-4ef9-a2f0-a8f8ac6c24e8-for-git_oc-mr1-release-4120176 snap-temp-L55000000076156472
Change-Id: I8d160e3579a624ffaebe42286f8eccd188efdb67
-rw-r--r--keystore/auth_token_table.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystore/auth_token_table.cpp b/keystore/auth_token_table.cpp
index 3f476cd8..eea24c97 100644
--- a/keystore/auth_token_table.cpp
+++ b/keystore/auth_token_table.cpp
@@ -235,7 +235,7 @@ bool AuthTokenTable::Entry::Supersedes(const Entry& entry) const {
return (token_->userId == entry.token_->userId &&
token_->authenticatorType == entry.token_->authenticatorType &&
- token_->authenticatorType == entry.token_->authenticatorType &&
+ token_->authenticatorId == entry.token_->authenticatorId &&
timestamp_host_order() > entry.timestamp_host_order());
}