Don't patch FBE flags

This commit is contained in:
topjohnwu 2017-09-26 02:04:07 +08:00
parent af102e47f1
commit ffa005e4ab

View File

@ -92,7 +92,7 @@ int check_verity_pattern(const char *s) {
}
int check_encryption_pattern(const char *s) {
const char *encrypt_list[] = { "forceencrypt", "forcefdeorfbe", "fileencryptioninline", "fileencryption", NULL };
const char *encrypt_list[] = { "forceencrypt", "forcefdeorfbe", NULL };
for (int i = 0 ; encrypt_list[i]; ++i) {
int len = strlen(encrypt_list[i]);
if (strncmp(s, encrypt_list[i], len) == 0)