mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-23 05:13:06 +08:00
committed by
Christian Kratky
parent
5db05f186f
commit
e8ff48bfd3
@@ -132,7 +132,7 @@ namespace MQTTnet.Implementations
|
|||||||
throw new NotSupportedException("Only one client certificate is supported for UWP.");
|
throw new NotSupportedException("Only one client certificate is supported for UWP.");
|
||||||
}
|
}
|
||||||
|
|
||||||
return new Certificate(options.TlsOptions.Certificates.First().GetRawCertData());
|
return new Certificate(options.TlsOptions.Certificates.First().AsBuffer());
|
||||||
}
|
}
|
||||||
|
|
||||||
private IEnumerable<ChainValidationResult> ResolveIgnorableServerCertificateErrors()
|
private IEnumerable<ChainValidationResult> ResolveIgnorableServerCertificateErrors()
|
||||||
|
|||||||
Reference in New Issue
Block a user