Browse Source

Merge pull request #134 from cvellan/patch-3

Serialized certificates loaded as X509Certificate2
release/3.x.x
Christian 7 years ago
committed by GitHub
parent
commit
5f9214e9a2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      Frameworks/MQTTnet.NetStandard/Implementations/MqttTcpChannel.cs
  2. +1
    -1
      README.md

+ 2
- 2
Frameworks/MQTTnet.NetStandard/Implementations/MqttTcpChannel.cs View File

@@ -130,7 +130,7 @@ namespace MQTTnet.Implementations

foreach (var certificate in options.TlsOptions.Certificates)
{
certificates.Add(new X509Certificate(certificate));
certificates.Add(new X509Certificate2(certificate));
}

return certificates;
@@ -152,4 +152,4 @@ namespace MQTTnet.Implementations

}
}
#endif
#endif

+ 1
- 1
README.md View File

@@ -49,7 +49,7 @@ MQTTnet is a high performance .NET library for MQTT based communication. It prov
* .NET Standard 1.3+
* .NET Core 1.1+
* .NET Core App 1.1+
* Universal Windows Platform (UWP) 10.0.10240+ (x86, x64, ARM, AnyCPU, WIndows IoT Core)
* Universal Windows Platform (UWP) 10.0.10240+ (x86, x64, ARM, AnyCPU, Windows 10 IoT Core)
* .NET Framework 4.5.2+ (x86, x64, AnyCPU)
* Mono 5.2+
* Xamarin.Android 7.5+


Loading…
Cancel
Save