Commit ffa005e4 authored by topjohnwu's avatar topjohnwu

Don't patch FBE flags

parent af102e47
...@@ -92,7 +92,7 @@ int check_verity_pattern(const char *s) { ...@@ -92,7 +92,7 @@ int check_verity_pattern(const char *s) {
} }
int check_encryption_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) { for (int i = 0 ; encrypt_list[i]; ++i) {
int len = strlen(encrypt_list[i]); int len = strlen(encrypt_list[i]);
if (strncmp(s, encrypt_list[i], len) == 0) if (strncmp(s, encrypt_list[i], len) == 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment