]> git.ipfire.org Git - thirdparty/systemd.git/commit
homed: use crypt_token_max() where appropriate
authorLennart Poettering <lennart@poettering.net>
Fri, 8 Oct 2021 14:58:42 +0000 (16:58 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 8 Oct 2021 21:50:04 +0000 (23:50 +0200)
commite7e30330ff9fe0c2df3debe8cdf89bf6f5ed1bfd
treed05147c222eaf9ae0cc2c0eca060c4a13d598af1
parent4a09a677551e47f51d6444565e3d98b4b8023c09
homed: use crypt_token_max() where appropriate

Let's use the new crypt_token_max() API in systemd-homework too, to cut
iteration of tokens short.

We already use it in cryptenroll/cryptsetup, so let's use it here too.
src/home/homework-luks.c