Snap for 6488474 from 5fb8f8641f36bec43066370f2743e9513dd9d2d5 to rvc-d1-release
Change-Id: I5f54fd38f41e433c54efca98e62d1a177df1f706
diff --git a/Android.bp b/Android.bp
index 958e669..c831677 100644
--- a/Android.bp
+++ b/Android.bp
@@ -183,6 +183,12 @@
cflags: [
"-DBORINGSSL_FIPS",
],
+ sanitize: {
+ // Disable address sanitizing otherwise libcrypto will not report
+ // itself as being in FIPS mode, which causes boringssl_self_test
+ // to fail.
+ address: false,
+ },
inject_bssl_hash: true,
static: {
// Disable the static version of libcrypto, as it causes