mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-24 16:43:13 -10:00
APIs will throw NotSupportedException if SSLv2 or v3 is used. This behavior is different from .NET Desktop. Tests have been changed to pin this new behavior. Increased passing-test timeouts to 15s. Fix dotnet/corefx#3114 (partial), dotnet/corefx#4467 Commit migrated from https://github.com/dotnet/corefx/commit/1f4deea8946d2e54dfd3c88e64c85bc3c3d9805c
59 lines
2.8 KiB
XML
59 lines
2.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
|
|
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProjectGuid>{0D174EA9-9E61-4519-8D31-7BD2331A1982}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<StringResourcesPath>..\..\src\Resources\Strings.resx</StringResourcesPath>
|
|
</PropertyGroup>
|
|
<!-- Help VS understand available configurations -->
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " />
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " />
|
|
<ItemGroup>
|
|
<Compile Include="SslStreamAllowedProtocolsTest.cs" />
|
|
<!-- Fakes -->
|
|
<Compile Include="Fakes\FakeSslState.cs" />
|
|
<Compile Include="Fakes\FakeAuthenticatedStream.cs" />
|
|
<Compile Include="Fakes\FakeLazyAsyncResult.cs" />
|
|
|
|
<!-- Common test files -->
|
|
<Compile Include="$(CommonTestPath)\System\Net\SslProtocolSupport.cs">
|
|
<Link>CommonTest\System\Net\SslProtocolSupport.cs</Link>
|
|
</Compile>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="project.json" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<!-- Production code references -->
|
|
<Compile Include="..\..\src\System\Net\SecureProtocols\SslStream.cs">
|
|
<Link>ProductionCode\System\Net\SecureProtocols\SslStream.cs</Link>
|
|
</Compile>
|
|
<Compile Include="..\..\src\System\Net\SecureProtocols\SslStreamContext.cs">
|
|
<Link>ProductionCode\System\Net\SecureProtocols\SslStreamContext.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonPath)\System\Net\SecurityProtocol.cs">
|
|
<Link>ProductionCode\Common\System\Net\SecurityProtocol.cs</Link>
|
|
</Compile>
|
|
|
|
<!-- Logging -->
|
|
<Compile Include="$(CommonPath)\System\Net\Shims\TraceSource.cs">
|
|
<Link>ProductionCode\Common\System\Net\Shims\TraceSource.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonPath)\System\Net\Logging\Logging.cs">
|
|
<Link>ProductionCode\Common\System\Net\Logging\Logging.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonPath)\System\Net\Logging\GlobalLog.cs">
|
|
<Link>ProductionCode\Common\System\Net\Logging\GlobalLog.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonPath)\System\Net\Logging\EventSourceLogging.cs">
|
|
<Link>ProductionCode\Common\System\Net\Logging\EventSourceLogging.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonPath)\System\Net\InternalException.cs">
|
|
<Link>ProductionCode\Common\System\Net\InternalException.cs</Link>
|
|
</Compile>
|
|
</ItemGroup>
|
|
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
|
</Project> |