mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-13 03:40:05 +01:00
Also rename all 'length' variable to 'size' since json field is named size. Make segment validation two step process. First validate general segment object is valid and later validate specific segment type has all necessary fields. Without this patch older libraries won't be able to print out (luksDump) basic information about devices created with newer libraries.