1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00

homed: don't forget to look at all enrolled tokens

We accidentally increased the token index twice whenever we found our
token. Fix that.
This commit is contained in:
Lennart Poettering 2021-10-08 16:59:35 +02:00
parent e7e30330ff
commit d71059072a

View File

@ -946,7 +946,6 @@ int home_store_header_identity_luks(
/* Now, let's free the text so that for all further matching tokens we all crypt_json_token_set()
* with a NULL text in order to invalidate the tokens. */
text = mfree(text);
token++;
}
if (text)