From 263d2df2c7ce640e9da3fda95bb16d8a2d221382 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Wed, 18 Sep 2019 11:07:09 -0700 Subject: [PATCH] Use libcrypto_static instead of libcrypto Replace libcrypto with libcrypto_static, which can be protected through visibility to ensure only modules that don't affect FIPS certification can use it. Bug: 141248879 Test: m checkbuild Change-Id: I8685cb06d15f3425eeb96d998ffda54c82dcd387 --- confirmationui/1.0/vts/functional/Android.bp | 2 +- drm/1.0/vts/functional/Android.bp | 2 +- drm/1.2/vts/functional/Android.bp | 2 +- keymaster/3.0/vts/functional/Android.bp | 2 +- keymaster/4.0/vts/functional/Android.bp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/confirmationui/1.0/vts/functional/Android.bp b/confirmationui/1.0/vts/functional/Android.bp index d19d7021a2..fd088cd360 100644 --- a/confirmationui/1.0/vts/functional/Android.bp +++ b/confirmationui/1.0/vts/functional/Android.bp @@ -23,7 +23,7 @@ cc_test { static_libs: [ "android.hardware.confirmationui@1.0", "android.hardware.keymaster@4.0", - "libcrypto", + "libcrypto_static", "libcn-cbor", "android.hardware.confirmationui-support-lib", ], diff --git a/drm/1.0/vts/functional/Android.bp b/drm/1.0/vts/functional/Android.bp index d6ebfdddfd..61d4d583a9 100644 --- a/drm/1.0/vts/functional/Android.bp +++ b/drm/1.0/vts/functional/Android.bp @@ -30,7 +30,7 @@ cc_test { "libhidlmemory", "libnativehelper", "libssl", - "libcrypto", + "libcrypto_static", ], test_suites: ["general-tests"], } diff --git a/drm/1.2/vts/functional/Android.bp b/drm/1.2/vts/functional/Android.bp index 6b4a4c0adf..95883bf728 100644 --- a/drm/1.2/vts/functional/Android.bp +++ b/drm/1.2/vts/functional/Android.bp @@ -34,7 +34,7 @@ cc_test { "libhidlmemory", "libnativehelper", "libssl", - "libcrypto", + "libcrypto_static", ], test_suites: ["general-tests"], } diff --git a/keymaster/3.0/vts/functional/Android.bp b/keymaster/3.0/vts/functional/Android.bp index b0371c79ef..69aa56d306 100644 --- a/keymaster/3.0/vts/functional/Android.bp +++ b/keymaster/3.0/vts/functional/Android.bp @@ -26,7 +26,7 @@ cc_test { ], static_libs: [ "android.hardware.keymaster@3.0", - "libcrypto", + "libcrypto_static", "libsoftkeymasterdevice", ], test_suites: ["general-tests"], diff --git a/keymaster/4.0/vts/functional/Android.bp b/keymaster/4.0/vts/functional/Android.bp index 333e408b28..0401362e96 100644 --- a/keymaster/4.0/vts/functional/Android.bp +++ b/keymaster/4.0/vts/functional/Android.bp @@ -25,7 +25,7 @@ cc_test { ], static_libs: [ "android.hardware.keymaster@4.0", - "libcrypto", + "libcrypto_static", "libkeymaster4support", "libsoftkeymasterdevice", ],