From 58505923e52df282a978d49798011c7a2ee1d9e2 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 5 Sep 2019 15:32:36 -0700 Subject: [PATCH] Set LOCAL_INJECT_BSSL_HASH for init_first_stage init_first_stage is built in Make and statically links libcrypto, so it needs to set LOCAL_INJECT_BSSL_HASH to make the FIPS self test pass. Bug: 137267623 Test: m checkbuild Change-Id: Icd8ec07b731228a162db9a13d7304bf1d73127aa --- init/Android.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/init/Android.mk b/init/Android.mk index d7258a794..54163fae9 100644 --- a/init/Android.mk +++ b/init/Android.mk @@ -119,6 +119,7 @@ LOCAL_STATIC_LIBRARIES := \ LOCAL_SANITIZE := signed-integer-overflow # First stage init is weird: it may start without stdout/stderr, and no /proc. LOCAL_NOSANITIZE := hwaddress +LOCAL_INJECT_BSSL_HASH := true include $(BUILD_EXECUTABLE) endif