未验证 提交 593ac13e 编写于 作者: K Kevin Jones 提交者: GitHub

Fix OpenSSL detection in PlatformDetection for Android (#52798)

上级 82289b25
......@@ -101,7 +101,18 @@ public static string LibcVersion
}
}
public static bool OpenSslPresentOnSystem => !IsBrowser && Interop.OpenSslNoInit.OpenSslIsAvailable;
public static bool OpenSslPresentOnSystem
{
get
{
if (IsAndroid || IsiOS || IstvOS || IsMacCatalyst || IsBrowser)
{
return false;
}
return Interop.OpenSslNoInit.OpenSslIsAvailable;
}
}
private static Version s_opensslVersion;
private static Version GetOpenSslVersion()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册