mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-12 11:20:10 +01:00
This commit fixes two problems: a) Replace hardcoded 16KiB metadata variant as lower limit for keyslot area offset with current value set in config section (already validated). b) Replace segment offset (if not zero) as upper limit for keyslot area offset + size with value calculated as 2 * metadata size + keyslots_size as acquired from config section (also already validated)