-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dead end S.Security.Cryptography.OpenSsl package (#51854)
* Dead end S.Security.Cryptography.OpenSsl package To reduce complexity of the cryptography OpenSsl library, dead ending its package as most of the configurations are partial facades anyway and adding OpenSsl to the targeting pack. It's already part of the runtime and exposed in aspnetcore's targeting pack. .NET Standard libraries can continue to use the latest available package which harvests for .NET Standard configurations. Contributes to #47530
- Loading branch information
1 parent
d03dcdd
commit 7b575d7
Showing
10 changed files
with
34 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
src/libraries/System.Security.Cryptography.OpenSsl/NuGet.config
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
...ies/System.Security.Cryptography.OpenSsl/pkg/System.Security.Cryptography.OpenSsl.pkgproj
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 2 additions & 18 deletions
20
...ries/System.Security.Cryptography.OpenSsl/ref/System.Security.Cryptography.OpenSsl.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,14 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>$(NetCoreAppCurrent);netcoreapp3.0;net47</TargetFrameworks> | ||
<ExcludeCurrentNetCoreAppFromPackage>true</ExcludeCurrentNetCoreAppFromPackage> | ||
<TargetFrameworks>$(NetCoreAppCurrent)</TargetFrameworks> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<AssemblyVersion Condition="$(TargetFramework.StartsWith('net4'))">4.1.0.0</AssemblyVersion> | ||
<!-- We need to build against net47 because that is where ECParameters got added inbox. We ship as net461 in order to not require | ||
the facades when the package is restored. --> | ||
<PackageTargetFramework Condition="'$(TargetFramework)' == 'net47'">net461</PackageTargetFramework> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<SuppressPackageTargetFrameworkCompatibility Include="net461" /> | ||
<Compile Include="System.Security.Cryptography.OpenSsl.cs" /> | ||
<Compile Include="System.Security.Cryptography.OpenSsl.netcoreapp.cs" Condition="'$(TargetFramework)' == 'netcoreapp3.0' OR '$(TargetFramework)' == '$(NetCoreAppCurrent)'" /> | ||
</ItemGroup> | ||
<ItemGroup Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'"> | ||
<ItemGroup> | ||
<ProjectReference Include="$(LibrariesProjectRoot)System.Runtime\ref\System.Runtime.csproj" /> | ||
<ProjectReference Include="$(LibrariesProjectRoot)System.Security.Cryptography.Algorithms\ref\System.Security.Cryptography.Algorithms.csproj" /> | ||
<ProjectReference Include="$(LibrariesProjectRoot)System.Security.Cryptography.Primitives\ref\System.Security.Cryptography.Primitives.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'"> | ||
<Reference Include="System.IO" /> | ||
<Reference Include="System.Runtime" /> | ||
<Reference Include="System.Runtime.Handles" /> | ||
<Reference Include="System.Security.Cryptography.Algorithms" /> | ||
<Reference Include="System.Security.Cryptography.Primitives" /> | ||
</ItemGroup> | ||
</Project> |
36 changes: 0 additions & 36 deletions
36
...stem.Security.Cryptography.OpenSsl/ref/System.Security.Cryptography.OpenSsl.netcoreapp.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
...geSettings/System.Security.Cryptography.OpenSsl/netcoreapp1.0/workaroundDowngrade.targets
This file was deleted.
Oops, something went wrong.