Fix support for LUKS header created by cryptsetup-1.0.0
authorMilan Broz <gmazyland@gmail.com>
Mon, 9 Apr 2012 20:47:19 +0000 (22:47 +0200)
committerMilan Broz <gmazyland@gmail.com>
Mon, 9 Apr 2012 21:11:52 +0000 (23:11 +0200)
commit09fd551e038ff98d668a0e9143339c9f1ae062ef
treeb3d3c331a5f28b4d349c2474671ce753636a0078
parentee8425b8365532217c5aa132a5d80eae1d3881df
Fix support for LUKS header created by cryptsetup-1.0.0
(no 4k alignment for the first keyslot).
Also skip repair for such header.

Thanks to Dick Middleton for reporting the issue.
ChangeLog
lib/luks1/keymanage.c
tests/evil_hdr-luks_hdr_damage.bz2