-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Description
As part of the cleanup work in #45741, we should rename the crypto library on Android since it does not have anything to do w/ OpenSSL.
Name of library: System.Security.Cryptography.Native.Android
You'll know it's right by checking the file in $(RepoRoot)/artifacts/bin/mono/./ is named libSystem.Security.Cryptography.Native.Android.a
Note on osx / linux, we prepend lib to the file name.
The rename starts at
runtime/src/libraries/Native/Unix/System.Security.Cryptography.Native.Android/CMakeLists.txt
Lines 45 to 47 in f64246c
| # TODO: Use "System.Security.Cryptography.Native.Android" name (will require a lot of csproj changes here and there) | |
| set_target_properties(System.Security.Cryptography.Native.Android PROPERTIES OUTPUT_NAME "System.Security.Cryptography.Native.OpenSsl") | |
| set_target_properties(System.Security.Cryptography.Native.Android-Static PROPERTIES OUTPUT_NAME "System.Security.Cryptography.Native.OpenSsl") |
Another important place is here
| System.loadLibrary("System.Security.Cryptography.Native.OpenSsl"); |
jkoritzinsky