Skip to content

Commit

Permalink
Update 3 NuGet dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nfbot authored Dec 17, 2018
1 parent d116433 commit f0d5a7a
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 24 deletions.
6 changes: 3 additions & 3 deletions source/nanoFramework.System.Net.Http.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<summary>nanoFramework.System.Net.Http assembly for nanoFramework C# projects</summary>
<tags>nanoFramework C# csharp netmf netnf nanoFramework.System.Net.Http</tags>
<dependencies>
<dependency id="nanoFramework.CoreLibrary" version="[1.0.6-preview-010]" />
<dependency id="nanoFramework.Runtime.Events" version="[1.0.2-preview-017]" />
<dependency id="nanoFramework.System.Net" version="[1.0.2-preview-013]" />
<dependency id="nanoFramework.CoreLibrary" version="[1.1.0]" />
<dependency id="nanoFramework.Runtime.Events" version="[1.0.2]" />
<dependency id="nanoFramework.System.Net" version="[1.0.2]" />
</dependencies>
</metadata>
<files>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ private void AcceptThreadFunc()
SslProtocols[] sslProtocols = new SslProtocols[] { SslProtocols.Default };

// Throws exception if fails.
((SslStream)netStream).AuthenticateAsServer(m_httpsCert, SslVerification.NoVerification, sslProtocols);
((SslStream)netStream).AuthenticateAsServer(m_httpsCert, sslProtocols);

netStream.ReadTimeout = 10000;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ protected override void Dispose(bool disposing)
/// <b>HttpWebRequest</b>. When the server certificate is received, it
/// is validated with certificates in this array.
/// </remarks>
X509Certificate[] m_caCerts;
X509Certificate m_caCert;

/// <summary>
/// The number of people using the connection. Must reference-count this
Expand Down Expand Up @@ -351,14 +351,14 @@ public NetworkCredential Credentials
}

/// <summary>
/// Gets or sets the array of certificates used to authenticate https
/// servers. These certificates are used only for https connections;
/// http connections do not require them.
/// Gets or sets the root CA certificate used to authenticate with https
/// servers. This certificate is used only for https connections;
/// http connections do not require this.
/// </summary>
public X509Certificate[] HttpsAuthentCerts
public X509Certificate HttpsAuthentCert
{
get { return m_caCerts; }
set { m_caCerts = value; }
get { return m_caCert; }
set { m_caCert = value; }
}

/// <summary>
Expand Down Expand Up @@ -1445,7 +1445,7 @@ private InputNetworkStreamWrapper EstablishConnection(Uri proxyServer, Uri targe
SslStream sslStream = new SslStream(retStream.m_Socket);

// Throws exception is fails.
sslStream.AuthenticateAsClient(m_originalUrl.Host, null, m_caCerts, SslVerification.CertificateRequired, SslProtocols.Default);
sslStream.AuthenticateAsClient(m_originalUrl.Host, null, m_caCert, SslProtocols.Default);

// Changes the stream to SSL stream.
retStream.m_Stream = sslStream;
Expand Down
16 changes: 8 additions & 8 deletions source/nanoFramework.System.Net.Http/System.Net.Http.nfproj
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,16 @@
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Reference Include="mscorlib, Version=1.0.6.10, Culture=neutral, PublicKeyToken=c07d481e9758c731">
<HintPath>..\packages\nanoFramework.CoreLibrary.1.0.6-preview-010\lib\mscorlib.dll</HintPath>
<Reference Include="mscorlib, Version=1.1.0.4, Culture=neutral, PublicKeyToken=c07d481e9758c731">
<HintPath>..\packages\nanoFramework.CoreLibrary.1.1.0\lib\mscorlib.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="nanoFramework.Runtime.Events, Version=1.0.2.17, Culture=neutral, PublicKeyToken=c07d481e9758c731">
<HintPath>..\packages\nanoFramework.Runtime.Events.1.0.2-preview-017\lib\nanoFramework.Runtime.Events.dll</HintPath>
<Reference Include="nanoFramework.Runtime.Events, Version=1.0.2.2, Culture=neutral, PublicKeyToken=c07d481e9758c731">
<HintPath>..\packages\nanoFramework.Runtime.Events.1.0.2\lib\nanoFramework.Runtime.Events.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Net, Version=1.0.2.13, Culture=neutral, PublicKeyToken=c07d481e9758c731">
<HintPath>..\packages\nanoFramework.System.Net.1.0.2-preview-013\lib\System.Net.dll</HintPath>
<Reference Include="System.Net, Version=1.0.2.2, Culture=neutral, PublicKeyToken=c07d481e9758c731">
<HintPath>..\packages\nanoFramework.System.Net.1.0.2\lib\System.Net.dll</HintPath>
<Private>True</Private>
</Reference>
</ItemGroup>
Expand All @@ -81,11 +81,11 @@
<ProjectConfigurationsDeclaredAsItems />
</ProjectCapabilities>
</ProjectExtensions>
<Import Project="..\packages\Nerdbank.GitVersioning.2.2.33\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\packages\Nerdbank.GitVersioning.2.2.33\build\Nerdbank.GitVersioning.targets')" />
<Import Project="..\packages\Nerdbank.GitVersioning.3.0.4-beta\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\packages\Nerdbank.GitVersioning.3.0.4-beta\build\Nerdbank.GitVersioning.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105.The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\Nerdbank.GitVersioning.2.2.33\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Nerdbank.GitVersioning.2.2.33\build\Nerdbank.GitVersioning.targets'))" />
<Error Condition="!Exists('..\packages\Nerdbank.GitVersioning.3.0.4-beta\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Nerdbank.GitVersioning.3.0.4-beta\build\Nerdbank.GitVersioning.targets'))" />
</Target>
</Project>
8 changes: 4 additions & 4 deletions source/nanoFramework.System.Net.Http/packages.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="nanoFramework.CoreLibrary" version="1.0.6-preview-010" targetFramework="netnanoframework10" />
<package id="nanoFramework.Runtime.Events" version="1.0.2-preview-017" targetFramework="netnanoframework10" />
<package id="nanoFramework.System.Net" version="1.0.2-preview-013" targetFramework="netnanoframework10" />
<package id="Nerdbank.GitVersioning" version="2.2.33" developmentDependency="true" targetFramework="netnanoframework10" />
<package id="nanoFramework.CoreLibrary" version="1.1.0" targetFramework="netnanoframework10" />
<package id="nanoFramework.Runtime.Events" version="1.0.2" targetFramework="netnanoframework10" />
<package id="nanoFramework.System.Net" version="1.0.2" targetFramework="netnanoframework10" />
<package id="Nerdbank.GitVersioning" version="3.0.4-beta" developmentDependency="true" targetFramework="netnanoframework10" />
</packages>

0 comments on commit f0d5a7a

Please sign in to comment.