diff options
author | Shawn Willden <swillden@google.com> | 2018-01-16 19:40:54 -0700 |
---|---|---|
committer | Shawn Willden <swillden@google.com> | 2018-01-16 19:42:21 -0700 |
commit | c8cdf0ec734ec181bf705b1d4f1a6a787bcd2054 (patch) | |
tree | 461dfd6e19c60b0f06ef465e9a9c511e356fa30b | |
parent | 35b6e6c8719a20d8ebfd116db0a38ee371a4b409 (diff) | |
download | security-c8cdf0ec734ec181bf705b1d4f1a6a787bcd2054.tar.gz |
Fix fingerprint-bound keystore keys.
Bug: 71513415
Test: Manually tested with two different apps
Change-Id: I510bf4da9443495bb4719399d511d26e26cfc731
-rw-r--r-- | keystore/operation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keystore/operation.h b/keystore/operation.h index 389f9f83..6f640da6 100644 --- a/keystore/operation.h +++ b/keystore/operation.h @@ -49,7 +49,7 @@ class OperationMap { Operation(Operation&&) = default; Operation(const Operation&) = delete; - bool hasAuthToken() const { return authToken.mac.size() == 0; } + bool hasAuthToken() const { return authToken.mac.size() != 0; } uint64_t handle; uint64_t keyid; |