Skip to content

Rename libSystem.Security.Cryptography.Native.OpenSsl on Android #52327

@steveisok

Description

@steveisok

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

# 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")
and will likely need to be modified elsewhere.

Another important place is here

System.loadLibrary("System.Security.Cryptography.Native.OpenSsl");

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions