Loading fs_mgr/fs_mgr_avb.cpp +5 −5 Original line number Diff line number Diff line Loading @@ -454,12 +454,12 @@ static bool init_is_avb_used() { // be returned when there is an error. std::string hash_alg; if (fs_mgr_get_boot_config("vbmeta.hash_alg", &hash_alg) == 0) { if (!fs_mgr_get_boot_config("vbmeta.hash_alg", &hash_alg)) { return false; } if (hash_alg == "sha256" || hash_alg == "sha512") { return true; } } return false; } Loading Loading
fs_mgr/fs_mgr_avb.cpp +5 −5 Original line number Diff line number Diff line Loading @@ -454,12 +454,12 @@ static bool init_is_avb_used() { // be returned when there is an error. std::string hash_alg; if (fs_mgr_get_boot_config("vbmeta.hash_alg", &hash_alg) == 0) { if (!fs_mgr_get_boot_config("vbmeta.hash_alg", &hash_alg)) { return false; } if (hash_alg == "sha256" || hash_alg == "sha512") { return true; } } return false; } Loading