summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--keystore/keystore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystore/keystore.cpp b/keystore/keystore.cpp
index 3f13c11..af8c937 100644
--- a/keystore/keystore.cpp
+++ b/keystore/keystore.cpp
@@ -1340,7 +1340,7 @@ static ResponseCode process(KeyStore* keyStore, int sock, uid_t uid, int8_t code
struct action* action = actions;
int i;
- while (~user->uid && user->uid != uid) {
+ while (~user->uid && user->uid != (uid % AID_USER)) {
++user;
}
while (action->code && action->code != code) {