Merge pull request #134 from cvellan/patch-3

Serialized certificates loaded as X509Certificate2
This commit is contained in:
Christian
2017-12-05 13:18:16 +01:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
@@ -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