You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
495 B

--- cryptsetup-2.0.3.old/lib/libdevmapper.c 2018-05-03 18:30:59.000000000 +0200
+++ cryptsetup-2.0.3/lib/libdevmapper.c 2018-06-19 20:01:10.263369754 +0200
@@ -164,6 +164,10 @@ static void _dm_set_crypt_compat(unsigne
_dm_flags |= DM_CAPI_STRING_SUPPORTED;
}
+ if (!_dm_satisfies_version(1, 15, 0, crypt_maj, crypt_min, crypt_patch) &&
+ _dm_satisfies_version(1, 14, 5, crypt_maj, crypt_min, crypt_patch))
+ _dm_flags |= DM_SECTOR_SIZE_SUPPORTED;
+
_dm_crypt_checked = true;
}