Add logic to retrieve KS2 certificates in supplicant.
Logic was largely copied from
android.system.wifi.keystore@1.0
Bug: 205764502
Test: Manual test - store a key-value pair to
legacy Keystore. Check that we can retrieve
the value in supplicant using the new method.
Change-Id: I8f12e447747f2e1a98e2d37b3453526cdde9e2de
diff --git a/wpa_supplicant/aidl/Android.bp b/wpa_supplicant/aidl/Android.bp
index 24c2079..d7dcf97 100644
--- a/wpa_supplicant/aidl/Android.bp
+++ b/wpa_supplicant/aidl/Android.bp
@@ -34,8 +34,10 @@
soc_specific: true,
shared_libs: [
"android.hardware.wifi.supplicant-V2-ndk",
+ "android.system.keystore2-V1-ndk",
"libbinder_ndk",
"libbase",
+ "libcrypto",
"libutils",
"liblog",
"libssl",